Javascript 视频播放器不适用于三星智能电视
在这里,我使用tv SDK 5.1为三星智能电视创建了一个示例应用程序。Thsi cide在5.1 emulator上运行良好。并且没有在实际设备上播放视频。在实际设备上进行此工作是否需要其他代码Javascript 视频播放器不适用于三星智能电视,javascript,html,samsung-smart-tv,Javascript,Html,Samsung Smart Tv,在这里,我使用tv SDK 5.1为三星智能电视创建了一个示例应用程序。Thsi cide在5.1 emulator上运行良好。并且没有在实际设备上播放视频。在实际设备上进行此工作是否需要其他代码 Main.onLoad = function() { plugin = document.getElementById("plugin"); plugin.Open('Player', '1.112', 'Player'); plugin.Execute("InitPlayer",
Main.onLoad = function()
{
plugin = document.getElementById("plugin");
plugin.Open('Player', '1.112', 'Player');
plugin.Execute("InitPlayer", "https://www.w3schools.com/html/mov_bbb.mp4");
plugin.Execute("SetDisplayArea", 10, 10, 100, 100);
plugin.Execute("SetInitialBufferSize", 400*1024);
plugin.Execute("StartPlayback");
console.log("Main.onload end");
}