Comment 15 for bug 1408760

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Streaming video does not work

Standalone test case for oxide:

import QtQuick 2.4
import com.canonical.Oxide 1.15
WebView {
  url: "https://www.nasa.gov/multimedia/nasatv/"
  context: WebContext {
    userAgent: "Mozilla/5.0 (Linux; Android 5.0;) AppleWebKit/537.36 Chrome/51.0.2704.79 Mobile Safari/537.36"
  }
  onJavaScriptConsoleMessage: console.log("[JS] (%1:%2) %3".arg(sourceId).arg(lineNumber).arg(message))
}

And here is the output when launched in qmlscene on arale:

qml: [JS] (https://www.nasa.gov/sites/all/modules/scald_twitter/scald_twitter.js?o7tar6:23) Uncaught ReferenceError: jQuery is not defined
qml: [JS] (https://www.nasa.gov/multimedia/nasatv/:0) Mixed Content: The page at 'https://www.nasa.gov/multimedia/nasatv/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://nasasearch.nasa.gov/search'. This endpoint should be made available over a secure connection.
qml: [JS] (https://www.nasa.gov/multimedia/nasatv/:0) Mixed Content: The page at 'https://www.nasa.gov/multimedia/nasatv/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://nasasearch.nasa.gov/search'. This endpoint should be made available over a secure connection.
qml: [JS] (https://www.nasa.gov/multimedia/nasatv/#public:0) Mixed Content: The page at 'https://www.nasa.gov/multimedia/nasatv/#public' was loaded over HTTPS, but requested an insecure script 'http://79423.analytics.edgesuite.net/html5/akamaihtml5-min.js'. This request has been blocked; the content must be served over HTTPS.
qml: [JS] (https://www.nasa.gov/multimedia/nasatv/#public:0) Mixed Content: The page at 'https://www.nasa.gov/multimedia/nasatv/#public' was loaded over HTTPS, but requested an insecure video 'http://nasatv-lh.akamaihd.net/i/NASA_101@319270/master.m3u8'. This content should also be served over HTTPS.
[0609/120740:ERROR:render_media_log.cc(23)] MediaEvent: PIPELINE_ERROR demuxer: could not open
qml: [JS] (https://www.nasa.gov/multimedia/nasatv/#public:0) Mixed Content: The page at 'https://www.nasa.gov/multimedia/nasatv/#public' was loaded over HTTPS, but requested an insecure video 'http://nasatv-lh.akamaihd.net/i/NASA_101@319270/master.m3u8'. This content should also be served over HTTPS.
[0609/120802:ERROR:render_media_log.cc(23)] MediaEvent: PIPELINE_ERROR demuxer: could not open
qml: [JS] (undefined:0) Uncaught (in promise) NotSupportedError: Failed to load because no supported source was found.