Hello, All!
I have problem with using AllVideos in html-page with using javascript, I try use such construction:
<script type="text/javascript">
if (( navigator.userAgent.indexOf('iPhone') != -1 )||( navigator.userAgent.indexOf('iPad') != -1 ) )
{
document.write("<div>{mov}video{/mov}</div>");
}
else
{
document.write("<div>{flv}video{/flv}</div>");
}
</script>
but it not work. Can I use plugin such way (or some other)?
I need check device and in case of iphone/ipad show video MOV in other cases FLV.
Hope you help me, from Russia with love!
I have problem with using AllVideos in html-page with using javascript, I try use such construction:
<script type="text/javascript">
if (( navigator.userAgent.indexOf('iPhone') != -1 )||( navigator.userAgent.indexOf('iPad') != -1 ) )
{
document.write("<div>{mov}video{/mov}</div>");
}
else
{
document.write("<div>{flv}video{/flv}</div>");
}
</script>
but it not work. Can I use plugin such way (or some other)?
I need check device and in case of iphone/ipad show video MOV in other cases FLV.
Hope you help me, from Russia with love!