mediaelement
Advanced tools
Comparing version 4.2.1 to 4.2.2
Package.describe({ | ||
name: 'johndyer:mediaelement', | ||
summary: '*Official* MediaElement.js: <video> and <audio> made easy. One file. Any browser. Same UI.', | ||
version: '4.2.1', | ||
version: '4.2.2', | ||
git: 'https://github.com/mediaelement/mediaelement' | ||
@@ -6,0 +6,0 @@ }); |
{ | ||
"name": "mediaelement", | ||
"license": "MIT", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"main": "full.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -96,3 +96,3 @@ 'use strict'; | ||
/** | ||
* Convert a URL to BLOB to avoid issues with regular media types playing under a HTTPS website | ||
* Convert a non-SSL URL to BLOB to avoid issues with regular media types playing under a SSL website | ||
* @see https://poodll.com/ios-10-and-html5-video-and-html5-audio-on-https-sites/ | ||
@@ -102,3 +102,3 @@ * @private | ||
const processURL = (url, type) => { | ||
if (window.location.protocol === 'https:' && url.indexOf('https:') === 0 && IS_IOS && mejs.html5media.mediaTypes.indexOf(type) > -1) { | ||
if (window.location.protocol === 'https:' && url.indexOf('http:') === 0 && IS_IOS && mejs.html5media.mediaTypes.indexOf(type) > -1) { | ||
const xhr = new XMLHttpRequest(); | ||
@@ -105,0 +105,0 @@ xhr.onreadystatechange = function () { |
@@ -9,3 +9,3 @@ 'use strict'; | ||
// version number | ||
mejs.version = '4.2.1'; | ||
mejs.version = '4.2.2'; | ||
@@ -12,0 +12,0 @@ // Basic HTML5 settings |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4896304