While watching a netflix video on a Netflix site, my goal is to have a userscript invoke the playback controls programmatically. Specifically, the volume, level, play/pause state, and time position of the video.
I've been able to manipulate the html5 video element itself, but controlling that directly does not provide the needed netflix control bar feedback to the user. (i.e. video is paused, but the control bar still shows it as playing).
My approach thus far has been to try and locate the elements that represent the "buttons" you click when using the normal controls, and trigger their click events through the userscript. But I can't seem to isolate the proper elements. Additionally netflix is using a javascript compressor/obfuscator which increases the difficulty of finding the proper elements that represent the buttons on the control bar.
The console.log statements are showing some of the things I've found so far. But I haven't figured out how to invoke functions off them, or which of them might have what I'm looking for (I think largely due to the javascript compressor making it difficult for me to follow the code).
You can then use the API to perform various commands on the Netflix player, such as seeking (by using player.seek() with the number of milliseconds in the parentheses), playing or pausing the video (by using player.play() or player.pause() respectively), or controlling the volume (by using player.setVolume() with the value in the parentheses, with 1 being 100 percent and 0 being 0 percent).
So, for example, to get the "button" that controls play and pause, you could use: document.getElementsByClassName("player-control-button player-play-pause")[0]. Then to click it programmatically in tampermonkey, you simply invoke the click event using:
And I haven't figured out a way around that yet (though if your seek is just "fast forward" a bit, you could decrease the video size, set the playback rate to super high, then bring it back down to normal when it reaches the desired location I suppose).
So we need to find a different way to send the seek command. Apparently at one point there was a netflix.cadmium.objects.videoPlayer() or netflix.player javascript objects available with a seek method, however they appear to be absent now.
As hinted, WD TV Live Streaming Media Player (Gen 3) is the version with Netflix support. The current WDTV Media Player product hardware is practically identical (just no LIVE on the front panel) but software is different - Netflix is one of the features removed.
The device does not have the Netflix copy protection chip in it so never can have Netflix capability. Ther are inexpensive ways to get Netflix on your TV. A Chromecast on TV controlled by a phone or tablet with the Netflix app can do the job.
The Roku was the original Netflix player and the first. one was primarily a Netflix player . I have had the first three players and have stayed with the last one,Roku 2 since the newer ones had no great features I needed. Roku was first and best player and the WDTV was not a good UI and never use it for Netflix,used just as a media player.
Cold boot time is also as much as three or four minutes and even warm boots are sometimes a minute long. Leaving the device running often results in low memory errors or videos stuttering or failing to play. Now about half of my MKVs which used to play smoothly no longer play at all.
I still have email from WD support on my WDTV Live unit. It explains how to activate Miricast which I did and as promised a large number of otherwise unseen apps showed up to the right of the screen. But; the promised NETFLIX app was not included.
There is also an instruction of loading an additional app through the USB device. This would mean access to Netflix app in a folder so it will install properly. I see one on Amazon which is perfect set up for Miricast etc. Even Kobo Books has an app for Netflix.
Because the apps are set up for immediate install we need to get it in a folder and open the folder on the USB stick. Or, a more civil thing would be for WD to undo the roll back and put the Netflix into a current update.
How can I sign up for an Xfinity package with Netflix?
Xfinity packages with Netflix are only available in select markets at this time. To check availability, please visit xfinity.com.
How do I know if my Xfinity package includes Netflix?
If Netflix is included in your X1 package, it will be listed in the \"Bundled Services\" or the \"Regular monthly charges\" section of your bill.
I signed up for an Xfinity package that includes Netflix. How do I activate my Netflix account?
Launch the Netflix app on your X1 TV Box. Then, follow the prompts to either link your existing Netflix account to your Xfinity package or create a new Netflix account to be linked to your Xfinity package.
How do I find the Netflix app on my X1 TV Box?
You can either say \"Netflix\" into the Xfinity Voice Remote or you can go directly to the Netflix app by clicking on the Netflix tile found in the X1 apps menu.
I signed up for an Xfinity package that includes Netflix but never accessed the Netflix app on my X1 TV Box. Can I still create a new Netflix account or transfer an existing one as part of my package?
Yes. However, you must open the Netflix app on your X1 TV Box to activate the Netflix service included in your Xfinity package.
If you have an existing Netflix account and sign up for an Xfinity package with Netflix service, you'll continue to be charged separately for your Netflix account until you complete the activation process by using the Netflix app on your X1 TV Box.
How do I change my Netflix plan or account information?
You can change your Netflix plan at any time by signing in to netflix.com and visiting the Account page, then selecting Change Plan to view and select available plans.
What will happen to my Netflix account if I cancel my Xfinity service or change my Xfinity package?
For more information, see how to disconnect or downgrade Xfinity service with Netflix.
What happens to my Netflix account if I move?
Your Netflix subscription relationship is with Netflix directly, even if you signed up through Xfinity X1. Because of this, a move will not impact your subscription unless you are billed by Comcast, in which case, you will need to update your method of payment for Netflix.
Note: You'll need to sign in to Netflix again once you activate the boxes at your new address. If you move and no longer have Xfinity services, you will no longer be billed by Comcast and must update your payment method for Netflix or risk losing your Netflix Service.
If you have a previous, valid method of payment (credit or debit card, for example) on file with Netflix, Netflix will charge your previous method of payment. Contact Netflix to cancel your Netflix account after changing your service package with Comcast.
I accidentally linked the wrong Netflix account to my Xfinity package. What should I do?
If you accidentally connect the wrong Netflix account to your Xfinity package, please sign out of the Netflix app on X1 and please contact us.
How does Netflix affect internet data usage?
Video in the Netflix app on Xfinity X1 is streamed over the internet. For this reason, usage of the Netflix app on X1 and all other programming and content from the internet on X1, as well as, the internet apps on X1 are subject to Xfinity Internet data usage policies.
To determine what amount of usage you can expect for a given hour of streaming, Netflix provides estimates on its website. Netflix estimates about 1 GB of data per hour for each stream of standard definition video, and up to 3 GB per hour for each stream of HD video.
Will my Netflix user settings carry over to X1 or Flex?
Yes. Existing Netflix customers who use their Netflix login information when logging in through the Netflix app on X1 or Flex will see their current Netflix settings.
Why is Netflix programming displaying in letterbox?
If you signed up for a Netflix standard definition (SD) package, the Netflix content will appear in SD in the letterbox format, even if you are an Xfinity HD customer. In order to get rid of the letterbox view, you must change your Netflix subscription to a package that includes HD.
Next you'll also need some way to connect the internet directly to the device that will stream Netflix (more on that below). Depending on the device you may need a wired Ethernet connection or, more commonly, Wi-Fi. To connect that device to Wi-Fi, you'll need to make sure you know your Wi-Fi name and password. Netflix recommends a minimum connection speed of 1.5Mbps and most broadband services can reliably achieve this, but if you're unsure try visiting SpeedTest to measure your speed.
Once you have an account and internet connectivity, you'll need a device to watch Netflix on. Just like on your phone, there's a Netflix app for TVs and other devices including media streamers and video game consoles. The app is free, but of course you'll need to install it on the device first. Bear in mind that all of the options below presume either Netflix is on board your TV or you have a modern TV with an HDMI port.
If you have an older, analog TV without HDMI, sadly these options won't work for you. Roku used to make a streamer with analog out called the Roku Express Plus, but has been replaced with a model with HDMI only. If you really don't want to buy a new TV just to get Netflix, you may be able to find one of the former versions -- just look for the tell-tale AV-out port.
Smart TV: If you have a flat-screen TV manufactured in the last 10 years you can probably already watch Netflix on it. Modern TVs integrate streaming services like Netflix into an interface known as "smart TV." While some TVs have a dedicated Netflix button on the remote, most compatible models have a smart TV button that should let you access the streaming apps available. The app may be older, slower and not as slick as the modern version, but if you want to access Netflix right now, it should still work.
90f70e40cf