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.
My 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,?
Hi 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,
Nikko
Thanks,it worked.
And How to add other video source?
Hi 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,
Nikko
I can visit Youtube because of the GFW. so I want to add other video website in China, like youku,qq.com bilibili.com
Hi 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