locked
I Found A Bug (tag VIDEO when Fullscreen) RRS feed

  • Question

  • I think this is a Bug.. When we apply a rotate transformation in a video tag using msTransform it plays just fine.. wonderful.. but when we click Fullsreen (yes now the VIDEO tag has a fullscreen button which is awesome) the video goes Fullscreen BUT ROTATED.. 

    It should not be rotate. I think it's a bug or a bad choice from microsoft. Probably a bug.

    Please fix this and make it goes Fullscreen but not rotated, and when we switch back leaving the fullscreen mode it comes back to the previews rotated state again..

    Thanks..

    Monday, June 4, 2012 7:19 PM

Answers

  • Hello Alans,

    The W3C does not define how the "controls" attribute of the "video" tag must be implemented. When you select the "full screen" control in the video tag the software automatically attempts to display the video in the best possible format. With most modern tablets landscape is generally the best mode to display full screen 16:9 content. Quite simply the content usually fits better full screen in landscape mode. Because of this we automatically rotate the video to match this mode. To avoid this rotation you can remove the "controls" attribute and implement the video controls yourself. You can then implement a rotation and size transform to display the video full screen in the orientation that you feel benefits the user.

    I hope this helps,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, June 6, 2012 9:47 PM
    Moderator

All replies

  • Hi,

    The end result is certainly a bit of a surprise, but probably so because we likely did not anticipate this scenario (very cool sounding and I would love to see it).  I haven't tried to reproduce it on my side.

    However, is there a method by which you could anticipate or detect for fullscreen and simply remove the transform?

    Patrick Dengler

    Microsoft

    Tuesday, June 5, 2012 6:25 PM
  • I don't think so.. i looked up and couldn't found any event for this..

    So i think you guys will have to fix it in the next update.. because, yes it sounds cool as developer, but it's not practical and annoying for user.. they wanna watch the video and not to see it rotated in fullscreen.. there's no reason for that..

    Tuesday, June 5, 2012 9:25 PM
  • Hello Alans,

    The W3C does not define how the "controls" attribute of the "video" tag must be implemented. When you select the "full screen" control in the video tag the software automatically attempts to display the video in the best possible format. With most modern tablets landscape is generally the best mode to display full screen 16:9 content. Quite simply the content usually fits better full screen in landscape mode. Because of this we automatically rotate the video to match this mode. To avoid this rotation you can remove the "controls" attribute and implement the video controls yourself. You can then implement a rotation and size transform to display the video full screen in the orientation that you feel benefits the user.

    I hope this helps,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, June 6, 2012 9:47 PM
    Moderator