Foliovision › Forums › FV Player › How to … › FV Player Pro | Shortcode parameter for timeline previews
-
Using the wordpress backend, I was able to successfully create a player with timeline previews. (https://foliovision.com/player/advanced/timeline-previews)
What parameters do I need to use if I want to manually integrate the shortcode into a page?
Thanks,
André
-
-
Hi André,
Thank you for asking!
You can find all your players in the FV Player Shortcode Database and simply copy the shortcode of the video which you’d like to insert to a page and paste it into the post, or page in the back-end. To find the database go to your WP dashboard–> FV Player –> Videos/Playlists.
Here’s the guide on how to use the FV Player Shortcode Database: https://foliovision.com/player/advanced/player-database.
Thanks,
ChiaraThanks for the quick reply.
Since I want to post more than 500 resources with splashcreens,transcripts,subtitles,timeline_previews a script generates me the shorcodes for these videos, which I can be published (automatically or manually).Example:
... [fvplayer src="/videos/intro4.mp4" splash="/videos/splash4.jpg" splashend="true" autoplay="true" width="640" height="360" caption="Intro" subtitles="/videos/intro4.vtt" transcript="transcript_video4.vtt" original_formatting="true"] ... [fvplayer src="/videos/intro500.mp4" splash="/videos/splash500.jpg" splashend="true" autoplay="true" width="640" height="360" caption="Intro" subtitles="/videos/intro500.vtt" transcript="transcript_video500.vtt" original_formatting="true"] ...
So I don’t create individual FV Players via FV Player Database, it would take too long.
But for my testing scenario I could solve the problem by converting the shortcode, but only via the intermediate step of the FV Player Shortcode Database.
Is there a parameter supported for the (old) FV Player shortcode, which I could use for the old shortcode to take timeline previews into account?
Something like this: (pseudo code)
... [fvplayer src="/videos/intro4.mp4" splash="/videos/splash4.jpg" splashend="true" autoplay="true" width="640" height="360" caption="Intro" subtitles="/videos/intro4.vtt" transcript="transcript_video4.vtt" original_formatting="true" timeline_previews="timeline_preview_video4.vtt"] ... [fvplayer src="/videos/intro500.mp4" splash="/videos/splash500.jpg" splashend="true" autoplay="true" width="640" height="360" caption="Intro" subtitles="/videos/intro500.vtt" transcript="transcript_video500.vtt" original_formatting="true" timeline_previews="timeline_preview_video500.vtt"] ...
Thanks,
AndréHello André,
we added support for timeline_previews shortcode argument for next FV Player version. So what you outlined above should work.
Please reinstall FV Player Pro by deactivating and deleting the FV Player Pro plugin you are using, then hit “Install Pro extension” at the top of the wp-admin -> Settings -> FV Player screen.
Then switch to Beta: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta …and it should be working for you.
Thanks,
MartinGreat, thanks for the quick support! You rock!
The shortcode parameter “timeline_previews” works in the beta version as described.
One more question about this:
Inside the shortcode I can specify the individual parameters (src, splash, transcript etc.) with releative paths. But for the new parameter “timeline_previews” it only works with absolute paths.
Will this still be adjusted?
Thanks,
André