How to stream the radio on metro apps..
the html code is this...
|
<script src="video.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
VideoJS.setupAllWhenReady();
</script>
<!-- Include the VideoJS Stylesheet -->
<link rel="stylesheet" href="video-js.css" type="text/css" media="screen" title="Video JS">
<!-- Begin VideoJS -->
<div class="video-js-box">
<!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody -->
<video id="example_video_1" class="video-js" width="700" height="400" controls="controls" preload="auto" poster="http://www.rtm.gov.my/images/poster/ai.jpg">
<source src="http://rtm-fms.cdn.jaring.my/hls-live/livepkgr/_definst_/liveevent/aifm.m3u8" />
<!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. -->
<object id="flash_fall_back_1" class="vjs-flash-fallback" width="700" height="33"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param><param name="flashvars" value="src=rtmp%3A%2F%2Frtm-fms.cdn.jaring.my%2Flivepkgr%2Faifm%3Fadbe-live-event%3Dliveevent&streamType=live"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="700" height="33" flashvars="src=rtmp%3A%2F%2Frtm-fms.cdn.jaring.my%2Flivepkgr%2Faifm%3Fadbe-live-event%3Dliveevent&streamType=live"></embed></object>
</video>
</div>
and how to play it at windows 8 apps / metro apps
|