Video
Last updated
Was this helpful?
Last updated
Was this helpful?
Available to PLUS and higher subscribers.
The video widget allows you to display static, live, and streaming video(s) contained within a . An M3U8 playlist is a Unicode version of an M3U playlist.
Select or create a datastream of .
At the moment Blynk doesn't provide streaming servers. So you can either stream directly from the camera, use third-party services, or host your own streaming server (on Raspberry Pi for example).
The video widget has the following controls:
Play / Pause: Press the play button to start or continue the video. Press the pause button to stop the video.
Frame Sider: Grab and slide it to position the video to a particular frame.
Audio: Adjust the audio volume or mute it.
Full Screen: View the video in full screen.
Playback Speed: Adjust the video playback speed.
You can change the URL from your , or via an by using the property name ‘url’.
Where:
vPin
is: virtual pin number the widget is assigned to
widgetProperty
: property you want to change
propertyValue
: value of the property you want to change
Don't put Blynk.setProperty()
into the void loop()
as it can cause a flood of messages and your hardware will be disconnected. Send such updates only when necessary, or use timers.
You can change the widget’s other properties (label, isDisabled, isHidden) from your , or via an . Set the property to True or an integer value of 1 to disable / hide the widget, or set the property to False / zero (0) to enable or make it visible.