If those streaming services use DRM, you must enable DRM in Firefox's settings: Preferences -> General -> Play DRM-controlled content You might also have to install package libavcodec-extra to get the codecs:
sudo apt install libavcodec-extra
Many of the features on that table are extremely new. The Media Source Extension spec, for example, is still a draft and is still being written. And it's being driven by Google and Netflix. It's going to take time for the spec to mature to a point where Mozilla want to spend any time implementing it.
h.264 support is somewhat easier (if you're on 12.04 - it'...
My config is Firefox 64.0, Ubuntu 18.04.1. Experienced the same problem. After searching and reading, finally was able to fix it.
Changed layers.acceleration.force-enabled option to true in the about:config
Edit: You may also try to create mozilla.widget.use-argb-visuals as Boolean and set it to false in about:config
Source: Firefox Bug 1516224 Semi-...
On top of the accepted answer, on Ubuntu 14.10 (FF 36.0) to obtain the OK for the MSE & H.264 you should set this properties to true on about:config:
Here you can find more details
Due to legal restrictions Opera is unable to distribute H264 codec. You can use the following workaround:
Install chromium-codecs-ffmpeg-extra package and create a link to libffmpeg.so:
sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
You can check your opera installation directory in the About dialog.
Take this simple application composed by: "app.qml", "app.html" and "app.js" (yeah I know, this "...
I found the solution!
It was not related to chromium or firefox, it was a configuration setting. In pulseaudio, sound stream from this 2 applications were configured to go to HDMI audio output, instead of built-in speakers.
As you can not change this setting for each application in the default "sound" application, I had to install pavucontrol and then I ...
Starting with ubuntu-html5-theme package version 14.04.20140123-ppa2 (Trusty), one can launch the HTML5 app with the --inspector argument added. (This can be added to the ubuntu-html5-app-launcher command in the shell and by setting the run configuration in the SDK).
With the --inspector argument, the app's shell output shows an IP address and port. You ...
I developed BAT, which is a tiny tool for building desktop applications with HTML, JS and CSS.
I wrote an article about it on my blog.
What solved this for me is setting media.mediasource.webm.enabled to true in about:config
I also have the following keys set to true manually:
These settings let you adjust the video quality as well (to me it does not work out of the box, everything is only ...
If you are using HTML, you should be using Cordova to access the native devices. You are saying that Cordova is not working for you, but unless you are more descriptive in what exactly is not working, it's difficult for anyone to help.
Alternatively, if you port your app to pure QML, you can then use the Camera component to access the device's camera.
The problem in the space in your path. The launcher only sees the first part of the path as the www argument, and rightly notices that this isn't a directory in which it could find an index.html file. It also helpfully points out that it got the second half of the path as an additional argument, but doesn't know what to do with it.
You can fix this with ...
The Applications templates are not Ubuntu Touch templates, those are actually just Qt Creator templates, you can't use them for Ubuntu Apps.
I have the very same issue trying to install ubuntu-sdk on a new VM today
The VM is running Ubuntu 12.04 LTS 64bit
Here how I solved the issue:
downloaded the packages:
installed manually the packages dependencies:
sudo apt-get install libqt5core5
The default configuration file for the files being served by your Apache installation is /etc/apache2/sites-enabled/000-default. It's a good idea to backup the original file before you play around with this file.
#To make a backup of the original config file:
sudo cp /etc/apache2/sites-enabled/000-default /etc/apache2/sites-enabled/000-default.orig
All the steps above greatly helped me above, for anyone stuck, i have listed a "all in one" fix
1) Open terminal and enter sudo apt-get install ubuntu-restricted-extras
2) open firefox and enter about:config in the address bar, then search :
3) Change all listed values to True
4) search media.fragmented-mp4 again set the 3 values from the top ...
To test the app in your device, just plug the device to your development pc using a USB cable.
Assuming that your device is recognized by the OS, from the terminal and in app's root directory type:
cordova run --device
Cordova should build the app for your device's platform (assuming you have added a platform during development), copy it to the device and ...
Currently only Chrome indeed, that is because Google's Chrome is the only browser that uses Encrypted Media Extension on Linux. Chromium and Opera even though based on the same engine do not bundle the DRM tools needed by Netflix.
Is unsure when/if Opera or Chromium will open the doors to DRM. Mozilla said that they will not implement EME directly, instead ...
I had installed opera with the deb package downloadable from Opera's site and it did not load HTML 5 videos from youtube. The only solution that worked for me was to uninstall the version I had with:
sudo apt-get remove --purge opera-stable
and then installed the version from the PPA package following this other AskUbuntu post.
Adding a pointer to the ...
To summarise it, you can't use openDatabase over local web pages, you will need to use a full local server.
You can use SimpleHTTPServer to start a server from python and connect to it using webview.
You can use HTML5 websockets with the latest stable Nginx installed, to easily install it use the repositories:
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx
Remember, you have to remove your old nginx, nginx-common and nginx-full packages before installing the new version.
I've already tested proxying websockets (...
With JDownloader you can download almost every kind of content available on the web. Its up-to-date addon system allows to select available quality and filetype easily (video-audio/audio only).
Not the easiest way but it's one of the most effective.
EDIT: Just discovered youtube-dl command. Its GUI version is also available through a WebUpd8's PPA, but is ...
The trick is to use WebKit's remote inspector. Here's how I got it working in QtCreator 3.0:
Download Google Chrome if you don't already have it. (I believe Safari also works.)
In QtCreator, click "Projects" in the left column, then click the "Run" tab at the top.
Next to "Run Environment", click the "Details" drop-down.
Click "Add" to add a new ...
The HTML5 tutorial is outdated due to code changes in the SDK PPA. Very sorry for the confusion. For example, as you note, at the time the tutorial was written, there were two types of HTML5 app projects you could create: one for Cordova HTML5 apps, one for non Cordova HTML5 apps (which was named "HTML5 Touch UI"). There is now only a single type of HTML5 ...
QtWebkit supports WebSQL and IndexedDB: The following code samples return true:
var websqlAvailable = typeof window.openDatabase != 'undefined';
var indexeddbAvailable = typeof window.indexedDB != 'undefined';
As a side notice, only an older version of indexeddb is available in QtWebkit.
More information on using Web SQL, IndexedDB and Web Storage in ...
HTML5 app development is under rapid development now. Very sorry for any confusion this causes. We will publish a tutorial content soon that shows a working example of using the Cordova camera API in an HTML5 app on developer.ubuntu.com. Thanks for you patience!
html5 and css requires web rendering engine in the background . So you have to use one of the web rendering engine . Webkit is the most commonly used web rendering engine because of its perfomence and portability , You can also try Gecko from firefox but it is very hard to implement when compared to webkit
Right now, I'm using Firefox Nightly (27.0a1 (2013-10-24)) on Ubuntu 13.10.
I made the change on the flag media.gstreamer.enabled to true.
You also need to install the package gstreamer0.10-ffmpeg.
You can check if you have h.264 enabled in this page: http://www.youtube.com/html5