[英]playing video in Samsung smart tv app
I am creating a samsung smart tv application which can play videos from a list. 我正在创建一个三星智能电视应用程序,可以播放列表中的视频。 Right now i am working on this example provided on samsungdforum.
现在我工作的这个提供samsungdforum例子。 The examples runs fine on smart tv emulator 2013 But when i click on play button , it does not plays the video.
该示例在智能电视模拟器2013上运行良好,但是当我单击“播放”按钮时,它不会播放视频。
These messages appear in debugger 这些消息出现在调试器中
[JS ALERT]: success vale : true
[JS ALERT]: success vale : true
[JS ALERT]: Volume : 40
[JS ALERT]: Volume : 40
[JS ALERT]: URL = 'http://10.88.73.33/Video/Argentina.mp4'
[JS ALERT]: Key pressed: 71
[JS ALERT]: PLAY
[JS ALERT]: Play
[JS ALERT]: returnig state =1
[JS ALERT]: play btn clicked
[JS ALERT]: URL = http://10.88.73.33/Video/Argentina.mp4
[JS ALERT]: Play
The "Argentina.mp4" video is in my videos folder. “ Argentina.mp4”视频在我的视频文件夹中。
What am I doing wrong ? 我究竟做错了什么 ? is the URl or any other thing?
是URl还是其他东西? Please guide me towards right direction.
请引导我朝正确的方向前进。
Thanks 谢谢
There are a few problems. 有一些问题。
the URL normally should be of the following format http:// - take a look at your videosList.xml and clean it up 该URL通常应采用以下格式http://-查看您的videosList.xml并将其清理
try this url in a browser - it does not work! 在浏览器中尝试此网址-不起作用!
What you need to do is modify your videosList.xml to code an ABSOLUTE path to the video files - they are most likely included in your project 您需要做的就是修改videosList.xml,以编码视频文件的绝对路径-它们很可能包含在您的项目中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.