Sebastian
Sebastian

Reputation: 37

Load subtitles to Netflix player

Someone know how to load own subtitles to Netflix player like SuperFlix do? There is only few infromations about Netflix HTML5 player, one of those is that I should can manipulate player using
netflix.cadmium.objects.videoPlayer(); and so one, but Uncaught TypeError: netflix.cadmium.objects.videoPlayer is not a function(…) is the only thing I got. I suppose that Netflix changes something, but SuperFlix still works so it's possible. Iam trying it in Chrome console but in the end it would be Chrome extension.

Thanks

Upvotes: 1

Views: 1361

Answers (2)

mesompi
mesompi

Reputation: 699

In fact the only thing that SuperFlix does is simulate the pressing of CTRL + SHIFT + ALT + T on browser, the Netflix's player already have the function of loading your own subtitle.

Despite that, I developed a chrome extension that allows multiples subtitles on Netflix. It works based on HTML 5 video element. Worth a try!

Upvotes: 0

Ryan Brodie
Ryan Brodie

Reputation: 6620

Despite it being referenced in other answers, I also can't find a property on cadmium called videoPlayer therefore it may no longer exist, being deprecated from the API.

But I used..

for(var prop in netflix) { 
    if(netflix.hasOwnProperty(prop)) console.log(prop); 
}

..to find that netflix now has a video property. Use the above code in conjunction with the web inspector to reverse engineer their framework and you'll find the updated function call you're after. This should help get you started.

Good luck 👊

Upvotes: 3

Related Questions