Please Note
This article is only intended for the use of video playback within a webpage. It has no baring on the use of native video files within Signagelive. All details mentioned below are specific to the use of HTML video tags.
If you are using HTML to display a video file, it is possible that additional video tags are being created, causing the Brightsign device to fail, due to it only having one decoder (except for XD/XT range).
If your HTML page creates <video>
tags dynamically, it can be easy to inadvertently maintain more than one active video player–even if the extra video players are not visible. If videos are displayed in portrait mode, additional video players will quickly exhaust CPU and graphics resources on the player.
To destroy an unused video player, clear the src
attribute and reload the element using .load
. The firmware will then synchronously release the hardware resources assigned to that element.
video.src =""video.load() |
To play a single video repeatedly, set the loop
attribute on the corresponding HTML5 <video> element totrue
. This will often give better results than attempting to loop the video "by steam" in JavaScript. If the video has been authored correctly, the loop
attribute will produce a seamless loop from the last frame back to the first with zero delay.
This example shows how to seamlessly loop video for an HTML5 video element without introducing black frames:
<video width="320" height="240" autoplay loop source src="movie.mp4" type="video/mp4" /> |