# HLS Secure Token v2 playing on android

**URL:** <https://community.wowza.com/t/hls-secure-token-v2-playing-on-android/46346>\
**Category:** Wowza Streaming Engine\
**Created:** [December 10, 2015, 9:27am UTC](https://community.wowza.com/t/hls-secure-token-v2-playing-on-android/46346 "2015-12-10T09:27:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marinko\_Zubac](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@Marinko\_Zubac](https://community.wowza.com/u/Marinko_Zubac)\
**Post date:** [December 10, 2015, 9:27am UTC](https://community.wowza.com/t/hls-secure-token-v2-playing-on-android/46346/1 "2015-12-10T09:27:04Z")

</div>

Hello,

I am trying to implement Secure Token v2 Playback Security on HLS.

The Secure token is working Ok on Flash player, the hash is calculated correctly but

when I try to play the stream over android default browser I always get the error

html5: Video file not found.

If I turn off Playback security (Secure token) the stream plays normally.

Using flash player (RTMP) everyhing is working OK.

I have tried with flowplayer but it’s not working

Any suggestions what to do?

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [December 23, 2015, 4:58pm UTC](https://community.wowza.com/t/hls-secure-token-v2-playing-on-android/46346/2 "2015-12-23T16:58:17Z")

</div>

Hi,

Have you tried specifying the JWPlayer option androidhls: “true”? as an example,

```auto
<script type="text/javascript">
   jwplayer("myElement").setup({
       file: "<?php echo $playbackURL; ?>",
       androidhls: "true"
});
</script>

```

I found that this was required for my own secure token v2 test bed when playing back on Android devices.

Paul
