Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #90 from joonasmyhrberg/master
Browse files Browse the repository at this point in the history
Netflix HTML5 support
  • Loading branch information
JadenGeller committed Oct 26, 2015
2 parents a4172d9 + 4e6bd94 commit 5b0f303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helium/Helium/WebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class WebViewController: NSViewController, WKNavigationDelegate {
// Allow plug-ins such as silverlight
webView.configuration.preferences.plugInsEnabled = true

// Netflix support via Silverlight (HTML5 Netflix doesn't work for some unknown reason)
webView._customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/7.1.5 Safari/537.85.14"
// Custom user agent string for Netflix HTML5 support
webView._customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/8.0.7 Safari/600.7.12"

// Setup magic URLs
webView.navigationDelegate = self
Expand Down

0 comments on commit 5b0f303

Please sign in to comment.