1

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

Sebastian
  • 37
  • 3
  • Possible duplicate of [Controlling Netflix playback with Tampermonkey](http://stackoverflow.com/questions/27927950/controlling-netflix-playback-with-tampermonkey) – rogerdpack Sep 26 '16 at 12:42

2 Answers2

3

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

Community
  • 1
  • 1
Ryan Brodie
  • 6,554
  • 8
  • 40
  • 57
0

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!

Keshan Nageswaran
  • 8,060
  • 3
  • 28
  • 45
mesompi
  • 659
  • 6
  • 12