Play video with rounded corners

Workarounds and usability notes.

Play video with rounded corners

Postby Clifton » Sat Mar 12, 2016 7:10 pm

How do you play a video with rounded corners?

Example:

Procedure:
  1. Draw a field on a page and name it VideoPlayer
  2. Copy an MP4 video to the book folder and flag it for inclusion in the exported DHTML tree using the DHTML Export Tree Manager.
    file_tree.png
    DHTML Export Tree Manager (add mp4 to the media folder)
    file_tree.png (103.3 KiB) Viewed 585 times
  3. Execute pgStyleObject() for the on load page event for the VideoPlayer field with these parameters:
    pgStyleObject.png
    pgStyleObject() on load page
    pgStyleObject.png (21.86 KiB) Viewed 585 times
  4. Execute htmlVideoLoader() for the on load page event for the VideoPlayer field with these parameters:
    htmlVideoPlayer.png
    htmlVideoLoader() Parameters
    htmlVideoPlayer.png (26.74 KiB) Viewed 585 times
  5. You final actions on the VideoPlayer field should look like this:
    actions.png
    VideoPlayer field actions for on load page
    actions.png (33.74 KiB) Viewed 585 times
  6. Export your sample page and the video should play like the example shown at the top of this post.
Clifton
Site Admin
 
Posts: 732
Joined: Tue Jan 14, 2014 1:04 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 6 guests

cron