![](https://secure.gravatar.com/avatar/f3c3bec2acd356c24a66bd5a31f44077?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
JW Player with 2 pre-roll tags - device selection
Hi Support,
I have a question concerning device selection and two separate VAST tags for HMTL5 or Flash pre-rolls.
Is it possible to setup the JW Player in such a way to allow for making a selection between one of two tags depending on the device selection of the player?
E.g. If the JW Player detects a Flash compatible device, it will playback the Flash VAST tag. If the JW Player detects a HTML5 only compatible device (or mobile), it will playback the HTML5 tag.
It could also be that this has to be configured in combination with the adserver. In that case, I can imagine the player needs to pass back the device detection information to the adserver. How can i setup the player to provide this info to the adserver, so that it will know which tag to use (Flash or HTML5)?
Looking forward to your response,
Joris.