Azure media player preview image -
is there way specify poster or preview image of video azure media player mentioned on page
http://amsplayer.azurewebsites.net/azuremediaplayer.html
thanks help.
use "poster" attribute on video tag.
for example:
<video id="azuremediaplayer" poster="~/content/img/preview.png" class="azuremediaplayer amp-default-skin amp-big-play-centered" controls width="640" height="480" data-setup='{"logo": { "enabled": false}, "nativecontrolsfortouch": false}' tabindex="0"> <source src="{video_src}" type="application/vnd.ms-sstr+xml" /> <p class="amp-no-js">to view video please enable javascript, , consider upgrading web browser supports html5 video</p> </video>
if don't specify value poster attribute player use first frame of source video poster.
Comments
Post a Comment