December 28, 2011

Here is html5video embedded in an iframe:

Updated with a video available in mp4 format to make it work in iOS/Safari/Chrome.

Just add:

src[]=http://example.com/video.mp4&src[]=http://example.com/video.webm&

to the following and it should work everywhere with flash fallback.

<iframe src="http://html5.kaltura.org/mwEmbedFrame.php?src[]=http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_360p.webm&src[]=http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_iphone270P.m4v&src[]=http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_400p.ogv&poster=http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg" width="500" height="375" frameborder="0" ></iframe>

  1. un said: this i really cool. (doesn’t work for me, though. video no loading [chrome, windows vista.])
  2. papyromancer posted this