WP YTPlayer & Divi Theme
giobrapisa opened this issue · comments
Hi Matteo,
i've just bought you plugin. Thanks for the amazing job.
I'm experiencing some problem using the short code.
Since the is no way to create shortcode on Divi constructor i created one shortcode using the default editor:
Here's the shortcode:
[mbYTPlayer url="https://www.youtube.com/watch?v=erG6jfJpqm8" custom_id="YTPlayer_579169530" elementselector="abcd" autoplay="true" mute="true" ratio="auto" isinline="false" gofullscreenonplay="false" showcontrols="false" realfullscreen="true" printurl="true" loop="false" optimize_display="true" anchor="center,center" addraster="false" stopmovieonblur="false" remember_last_time="false" gaTrack="false" ]
I opened a new page with divi builder and copied the Shortcode into a new text element.
Then, with the builder, i edited the section.
I tried to put the attribute "abcd" in this 2 places but nothing happens:
Could you please help me? THANKS A LOT! :)
Giovanni
Hi Giovanni,
I think the problem is that you should refer to the page element adding the "#" to specify it is an ID:
elementselector="#abcd" and add it as ID to the DIVI element you want to use.
Hope this can help.
All the best,
Matteo