DiscussionsCategory: Divi Areas ProCodeExample for Popup Vimeo-Video with start autoply after click on linked button
AvatarMartin asked 3 weeks ago

Hi,

Is there someone who has a solution to use a DiviAreaPro Module (#dp-introVideo) with VimeoVideo inside. (placed as an iframe code-module – or maybe with different approach?)

Used code:
<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/xyz?h=xyz&badge=0&autoplay=1&autopause=0&player_id=0&app_id=xyz" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen style="position:absolute;top:0;left:0;width:100%;height:100%;" title="Strategiegespäch">

<script src="https://player.vimeo.com/api/player.js">

does not work in frontend (white space) and get trouble in backend because the video is autoplaying int the divi-editor without click on the button. So it is annouying to hear alltime the same video-sound…

=> I would like to have the video autoplayed when the linked button (linked url #dp-introVideo) is clicked by visitor.

I can’t find any help in documentation or with google. Maybe I’m looking for the wrong term.

=> Would be great to get some exampleCode or a link to the documentation or a working solution.

Best regards

Martin