play video dynamically

cpliu
cpliu Community Member Posts: 237
I have menu page with multiple buttons to link to different videos. Instead of putting each video in a different page, is it possible to have one page with a placeholder and use action and variables to specify a video from a relative path to play?

How do you link and publish videos from different folder than Media folder?

 

Thanks,

Comments

  • timk
    timk Community Member Posts: 1,219 ♦ Idol ♦
    Do the videos have to be in a different folder than media? The normal "Change contents" action works for a video object.
  • cpliu
    cpliu Community Member Posts: 237
    Thank you. How do you use change contents to link to a different video?

    I have videos in different folders other than media folder. I tried to change the folder name in HTML but it won't work.

    Thanks,
  • timk
    timk Community Member Posts: 1,219 ♦ Idol ♦
    Just put all your video files on a page to let Lectora know you need them. Remove all but the first again. Once they've been imported to the title the "Resource" menu of the Change contents action should list up all videos.