How do I embed an audio-only player?
If you have a Media Asset or a Channel that is audio-only, you may wish to embed a streamlined audio-only player. Viostream enables this feature via a query string in the embed code.
To request an audio-only player, simply add the the f=ao
parameter to the
query string in your embed. See the examples below:
Script embed
<script src="https://play.viostream.com/embed/nhedxonrxsyfee?f=ao"></script>
Script embed w/ player
<script src="https://play.viostream.com/embed/nhedxonrxsyfee?f=ao&playerKey=s-dsw7xs6"></script>
Iframe embed
<div style="padding-bottom:56.25%; position:relative; display:block; width: 100%">
<iframe
width="100%"
height="100%"
src="//play.viostream.com/iframe/nhedxonrxsyfee?f=ao"
referrerpolicy="strict-origin-when-cross-origin"
allow="autoplay; encrypted-media; picture-in-picture"
allowfullscreen
frameborder="0"
style="position:absolute; top:0; left: 0">
</iframe>
</div>