2 Replies Latest reply on Feb 2, 2014 7:09 PM by sandip

    Preventing full screen video in iPhone

    sandip

      Hi, I am unable to prevent a video in iphone to be displayed full screen. I am using the following code:

       

      var vid = sym.$("Rectangle");

      vid.html('<video id="videoPlayer" width="400" height="225" src="test.mp4" type="video/mp4" controls="controls" webkit-playsinline></video>');

       

      The webkit-playsinline is being ignored. Is there a solution using java script?