Video
Available to PLUS and higher subscribers.
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.
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.
Blynk.setProperty(V1, "url", "http://my_new_video_url");
https://{server_address}/external/api/update/property?token={your 32 char token}&pin=V1&url={http://my_new_video_url}
Blynk.setProperty(V1, "isDisabled", "True");
https://{server_address}/external/api/update/property?token={your 32 char token}&pin=V1&isDisabled=1
Blynk.setProperty(vPin, "widgetProperty", "propertyValue");
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 modified 4mo ago