Video
The video widget allows you to display static, live, and streaming video(s) contained within a M3U8 playlist. An M3U8 playlist is a Unicode version of an M3U playlist.
Datastream
Select or create a datastream of data type string.
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).
Widget Controls
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.
How to change the video URL property
You can change the URL from your hardware, or via an HTTP API by using the property name ‘url’.
Change Video Properties
You can change the widget’s other properties (label, isDisabled, isHidden) from your hardware, or via an HTTP API. 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.
Where:
vPin
is: virtual pin number the widget is assigned towidgetProperty
: property you want to changepropertyValue
: 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.
Last updated