Daniel Posted February 22 Share Posted February 22 Hello, I couldn't find a wayt to change the player to a different one, the variables are hard to deal with. You have $flashvars and you have $data There's alos player/iframe_embed.php which is encoded which you can't touch And you also have template/block/view_video/video_view_video_view.tpl I would need to change player and place in values like poster, video source and that's about it. So let's say I can grab the screenshot with $flashvars.preview_url The video link in flashvars doesn't work but the one in $data works I could only debug it using print_r or var_dump There should be a way for us to change the player and documentation on how to do it Thanks Quote Link to comment Share on other sites More sharing options...
Tech Support Posted February 22 Share Posted February 22 7 hours ago, Daniel said: There's alos player/iframe_embed.php which is encoded which you can't touch You can change embed player template in Settings -> Embed player settings, it will be 100% the same code as inside video_view block template. So just test in one place and then migrate to another. 7 hours ago, Daniel said: the variables are hard to deal with Which variables do you need? Quote Link to comment Share on other sites More sharing options...
Daniel Posted February 22 Author Share Posted February 22 Hello, Thanks for the info, The variables I need are: poster and video files for the player. That's about it. Quote Link to comment Share on other sites More sharing options...
Tech Support Posted February 23 Share Posted February 23 Poster is: {{$flashvars.preview_url}} Video files are: {{foreach from=$data.formats|smarty:nodefaults item="format"}} {{$format.postfix}}: {{$format.file_url}} {{/foreach}} But please note that you have to switch off Enable links obfuscation option in Settings -> Content settings, because this feature only works in KVS player. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.