PDA

View Full Version : mms streaming into a video object



probe85
08-19-2012, 12:37 PM
Hello, i'm trying to develop a simple ce-html page where i play a streaming from an MMS source, (mms://212.162.68.163/prodtvr1).
I have checked the technical how-to (http://www.yourappontv.com/documentation/app-how-tos/technical) but i dont understand how to integrate this streaming into my page.

First i have try to stream a mp4 file directly from the folder of my webpage:



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"ce-html-1.0-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CE-HTML</title>
</head>
<body onload="document.getElementById('myvid').play(1);" style="background:#ffffff;">
CE-HTML a/v object:<br/>
<object type="video/mp4" id="myvid" data="http://www.pattaro.org/nettv/click.mp4" width="640" height="480">
video can not be played
</object>
</body>
</html>


and all work correctly then i have try to modify my code to adapt to the MMS streaming:



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"ce-html-1.0-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CE-HTML</title>
</head>
<body onload="document.getElementById('myvid').play(1);" style="background:#ffffff;">
CE-HTML a/v object:<br/>
<object type="video/x-ms-wmv" id="myvid" data="mms://212.162.68.163/prodtvr1" width="640" height="480">
video can not be played
</object>
</body>
</html>


but something goes wrong because the video dont load. I don't understand why the tv don't load the video? i have forgot something in my code?

I appreciate your help!
Many Thanks

p.s. to debug my code i'm using a philips 32PFL4007H/12 upgraded to the latest software version.