We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

3

Your simplest solution would be to upload your video to youtube, maybe run your webpage in a window with a live link to the youtube address then follow my previously suggested workaround for displaying Youtube videos: After hours of seeking solutions to play YOUTUBE videos, I have found the solution in the Epiphany Browser. Installs with the following 3 ...


3

You can send raw 264 frames to a browser through websocket and decode in in javascript. Latency < 0.1s :p I wrote an opensource project in this manner, checkout https://github.com/131/h264-live-player


2

I just wanted to note that I've been researching this topic as well and found some 'hacky' solutions. I've tested several methods to enable smooth playback in the browser using HTML5. Attempted Solutions: Browsers: Chromium-Browser (Version 45 and 50), Iceweasel, Midori, Minimal Kiosk Browser, Epiphany Web Browser. For each browser I then navigate to ...


2

If the button is a website element, and the website using python, can i control linux functions thru website on raspberry? Yes, basically you can do this with these python functions : os.system("someapp.sh") (launch a task),commands.getstatus("someapp.sh") (launch & read exit status code) or commands.getstatusoutput("someapp.sh") (launch and read ...


2

Yes you can talk to some sensors entirely JavaScript, e.g. npm install raspi-sensors npm install node-dht-sensor That first library was last updated three years ago, so as is typical with the Pi (and Linux) you may deal with some compatibility challenges, while node-dht-sensor was updated two months ago. You can search the npm repository for other modules ...


1

I think the browser is getting thrown by the DOCTYPE's in the header and footer. It should not need to see them because it knows index.html is an HTML document. I would remove <!DOCTYPE html> from both PHP include files and put the HTML5 <!DOCTYPE html> declaration at the start of your index.html instead.


1

It could be that the gpu doesn't have enough memory to work with. In the terminal, try: "sudo raspi-config" -> "Advanced Options" -> "Memory Split" and set an appropriate value (like 128).


1

Its not the best way, but use the url from a desktop PC and type into your chromium browser (yours is showing the mobile version) and bookmark it, until theres a better answer.


1

This seems to behave properly. I think your expectation of what happens on the click is probably wrong. What seems to happen (correctly) is that you click the button, and the browser attempts to load do.php. That file attempts to execute your Python and print the text it gives on standard output. Your Python script writes nothing to standard output, so ...


1

The great thing about programming is that you can do pretty much whatever you want to do if you have the right level of knowledge. What you're talking about has two primary components. A webpage. This will probably be written in HTML/CSS with a little Javascript for asynchronous functionality. A python backend that accepts commands and then does things to ...


1

MPEG2 playback speed on the RPi can be increased by buying a license for the hardware codec. You will need to write down the serial number of your board from /proc/cpuinfo, which will be required at the time of purchase. Disclamer: I have no means to know whether your particular video will be supported, or whether the performance boost will be significant ...


1

If one googles this phrase "raspberry pi gpio web interface" and switches to images mode, we can see that there appear to be quite a number of pre-existing solutions and samples. For example: http://hackaday.com/2013/02/02/easy-web-interface-with-gpio-access-runs-on-raspberry-pi/ https://www.raspberrypi.org/forums/viewtopic.php?t=15257 http://www....


1

As of 2017 , Chromium has been modified to use hardware decoding for video on Raspberry Pis. 3D acceleration has to be enabled seperately via raspi-config ("Experimental 3D driver").


1

Epiphany can do it according to the Raspberry Pi foundation's blog: https://www.raspberrypi.org/blog/web-browser-released/ They didn't mention any specific OS, so I'd go for Raspbian. Installation instructions are on the blog post.


1

Enable the experimental 3D driver via raspi-config , it will improve performance. Note that this driver does not support video acceleration yet (which was added to Chromium for Raspbian in 2017).


1

The best video playing browser for the Pi, in my experience, is KWEB3. It is based on the epiphany browser but appears to handle video much better and is has better support for HTML5 features.


1

After hours of seeking solutions to play YOUTUBE videos, I have found the solution in the Epiphany Browser. Installs with the following 3 commands: sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install epiphany-browser ---------------------------BUT THEN:--------------------------------------- You must reboot, then (AGAIN!): sudo apt-get ...


1

We manage an amount of Pi's as Digital Signage clients. We have plain picture and HTML based versions. For HTML we use Chromium. While we don't have a direct need for HTML5 video at this very moment it was something to try out. Since the first arrival of the Pi2 we have been trying to get acceptable speeds for serious javascripting, basic HTML5 and HTML5 ...


Only top voted, non community-wiki answers of a minimum length are eligible