-
AuthorPosts
-
May 3, 2018 at 5:56 am #950470
I add self hosted video on front page,but the image is black.
how to add a poster image on self hosted image??
I use the full screen slider to add fallback image, but didn’t work.-
This topic was modified 7 years, 7 months ago by
bensonfx.
May 3, 2018 at 9:23 am #950579May 3, 2018 at 10:02 am #950604My question is :
1. How to add poster image when using self hosted image?can you give me some example codes?2. How to add other video website,like youku, biblibi,?
May 4, 2018 at 5:43 am #951304Hi bensonfx,
The bug has been reported to Kriesi and our devs.
The self hosted video doesn’t have any option to add video background image as it should generate it.
For the meantime, can you try to modify this file: enfold > framework > php > function-set-avia-frontend.php and go to line 581 which should have this code:$output .= '<video class="avia_video" '.$image.' controls id="'.$uid.'" >';and replace it with:
$output .= '<video class="avia_video" '.$image.' controls id="'.$uid.'" preload="metadata" >';Hope this helps :)
Best regards,
NikkoMay 4, 2018 at 11:49 am #951559Thanks,it worked.
And How to add other video source?-
This reply was modified 7 years, 7 months ago by
bensonfx.
May 4, 2018 at 2:21 pm #951678Hi bensonfx,
I’m not sure what you meant by other video source. If you’re using a Video element a single video source should be used per element.
Can you explain it a bit more?Best regards,
NikkoMay 7, 2018 at 10:17 am #952566I can visit Youtube because of the GFW. so I want to add other video website in China, like youku,qq.com bilibili.com
May 8, 2018 at 6:16 am #953116Hi bensonfx,
You might want to use a plugin for that or just the regular video element, or paste embed code in the code block.
If you need further assistance please let us know.
Best regards,
Victoria -
This topic was modified 7 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
