I have to develop a Samsung TV application to play videos that are served from a remote server, which I don't have access to.
Actually I've made an application to play videos of my own server. But my current requirements are as follows:
I've checked FileApi
and FileReader
using HTML5 and JS, and come up with following barriers:
Its difficult to send cross domain request from Javascript. Since I don't have access to remote host, I can't set access-control-origin
on the remote server's response.
Any suggestions are appreciated...
The HTML5 video element is a standard way to embed video content in Web applications. You can use the video element to stream video files on a Samsung Smart TV.
1 Enable Samsung LYNK DRM To enable Samsung LYNK DRM, go to MENU→ADVANCED CONFIGURATION→DRM Configuration. Check ENABLE DRM box. After that, open SELEC DRM list and choose Samsung LYNK. Finally, push SAVE button.
In order to scroll up and down on the browser, you have to hit the rewind button to scroll up and the fast forward button to scroll down. Rewind and fast forward are buttons that are located near the bottom of the remote, left and right, respectively.
There is method for modifying buffer size: SetTotalBufferSize
But you can't buffer 100% of your video as it simply runs out RAM memory of the TV.
Therefore you have event to check if buffering is complete: OnBufferingComplete
I don't know what is the purpose of your task, but you can download whole file to the device instead of buffering it.
Here is the method: http://www.samsungdforum.com/Guide/View/Developer_Documentation/Samsung_SmartTV_Developer_Documentation_2.5/API_Reference/JavaScript_APIs/SEF_Plugin_API/Download
So you can download movie and save it to the device. And after that play your movie from local.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With