Wowza Community

Player Not Working on Safari and Android Device

Hi everyone,

I’m using wowza for the radio site. I have a big problem with wowza js player.

My integration is here;

<div id="playerElement" style="width:640px; height:100px; padding:0; display: none;"></div>
<script type="text/javascript" src="//player.wowza.com/player/latest/wowzaplayer.min.js"></script>
<script type="text/javascript">
    var smileRadio = WowzaPlayer.create('playerElement',
        {
        "license":"code_code_code_smile_smile_smile",
        "title":"Radyo Ritim",
        "description":"",
        "sourceURL":"https%3A%2F%2Fseninritmin.live%2Flive%2Fradyoritim.stream%2Fplaylist.m3u8",
        "autoPlay":false,
        "volume":"100",
        "mute":false,
        "loop":true,
        "audioOnly":true,
        "uiShowQuickRewind":true,
        "uiQuickRewindSeconds":"30"
        }
    );
    smileRadio.play();
</script>

And my error;

The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission

Hello,

Thanks for contacting the Wowza Community.

What are the codecs of the your stream? The Wowza player only supports H.264 and AAC audio.

Do you get the same error using other players?

Are you going to the Wowza Builder page to get the code? - https://player.wowza.com/

thanks,

Jermaine