[dancer-users] Dancer and HTML5 video

Christian Huldt christian at solvare.se
Thu Mar 10 17:53:44 GMT 2016


Den 2016-03-10 kl. 15:54, skrev Richard Reina:
> Does anyone know if there is anything related to an
> NGINX->Starman->Dancer stack that would prevent html5 videos from
> playing on safari iOS (on an Iphone or Ipad)? I realize that such a
> idea seems unlikley, but this embeded video
> http://www.w3schools.com/html/html5_video.asp plays on my ipnone.
> However, when I download the video and put in my Dancer2 app and use
> their markup (below) the video plays perfectly on a desktop but will
> not play on my Iphone. Being that I am downloading their video it
> cannot be an encoding issue.
>
> <h3>HTML Video Example.  Courtesy of <a
> href="http://www.bigbuckbunny.org/" target="_blank">Big Buck
> Bunny</a>.</h3>
> <div class="w3-padding w3-white notranslate">
>   <div style="text-align:center">
>   <video id="video1" style="width:600px;max-width:100%;" controls>
>     <source src="user_vids/uploads/user_vidL_5_111222333.mp4"
> type="video/mp4">
>     <source src="user_vids/uploads/user_vidL_5_111222333.ogv"
> type="video/ogg">
>     Your browser does not support HTML5 video.
>   </video>
> </div>
> </div>

Is user_vids/uploads/user_vidL_5_111222333.mp4 assigned the proper MIME
(something like video/mp4...) ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x82663443.asc
Type: application/pgp-keys
Size: 1696 bytes
Desc: not available
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20160310/75192dbe/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20160310/75192dbe/attachment.sig>


More information about the dancer-users mailing list