Problems with the PlayerAVPlay from Media Web Application Samples

Hello there. I am developer and I tried to use the PlayerAVPlaySubtitles sample from https://developer.samsung.com/smarttv/develop/samples/media-samples.html, but I am having some problems when opening the index.html in browser (would like to show images, but I can’t get it to upload):

1 - My video player is showing “This plugin is not supported”.

2 - Here is a copy and paste of the website console:

  • “GET file://wsl.localhost/Ubuntu/home/thiagochaves-e/MediaPlayerSamples/SampleWebApps-PlayerAvplayWithSubtitles-master/SampleWebApps-PlayerAvplayWithSubtitles-master/$WEBAPIS/webapis/webapis.js net::ERR_FILE_NOT_FOUND”

  • “Uncaught ReferenceError: webapis is not defined utils.js:8
    at getTVFirmware (utils.js:8:9)
    at Object.displayPairEl (utils.js:25:45)
    at Init (init.js:27:15)
    at init.js:63:2
    getTVFirmware @ utils.js:8
    displayPairEl @ utils.js:25
    Init @ init.js:27
    (anonymous) @ init.js:63”

  • “[10:09:47 AM][Player][LOG]: Open: http://developer.samsung.com/onlinedocs/tv/Preview/1.mp4 logger.js:28”

  • “videoPlayer.js:84 Uncaught ReferenceError: tizen is not defined videoPlayer.js:84
    at Object.create (videoPlayer.js:84:9)
    at onload (main.js:76:34)”

Can somebody help me as fast as possible, please?

Hello,

For Smart TV questions, please login to Seller Office TV (Seller2.0) and Ask Question in the 1:1 Q&A section.

But I’ not using any Smart TV. I do not understand what you’re talking about, M.A. Hasan Molla.

You are referring to Smart TV documentation. Can you please explain what you are trying to do?

I am trying to use the code of the sample PlayerAVPlaySubtitles at my computer in a project. A friend told me that I should use it if I needed to make tests with a media player that receives subtitles in my project. That is what I am doing. I just know that.

No where in the GitHub description I read that I need a TV and, if I have, how should I connect to this code to it. But I would be very pleased if you could help me. I am new to the Visual Display area and it has being very difficult to find answers in the website docs. There are nothing but brief descriptions of what a certain API of yours do and a long list of functions.

In conclusion, the PlayerAVPlaySubtitles code is in my computer, I open the index.html, I see errors and a “This plugin is not supported” message. I do not using a TV, I do not know what I would even do if I was using one. I do not have an account at Seller Office TV. So please, can you help me? ;-;