Controlling the Netflix player manually with .seek() method

我与影子孤独终老i 提交于 2019-12-06 15:26:41

The netflix.cadmium.objects.videoPlayer().seek() function accepts a time in milliseconds. Assuming your argument was in seconds, you can fix this by calling .seek(60 * 1000) to seek one minute into the video.

For future reference, most time-related functions in JavaScript will either accept or return a number in milliseconds such as setTimeout() and Date.getTime().

I did:bgMusic2.SeekTo( 0 ); So try changing seek to SeekTo( number here ); One very usefull tool for learning stuff like this is an app called DroidScript.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!