Open saifulmuhajir opened 6 years ago
I've got the same issue @eueung -- any idea how we can fix this issue? Thanks!
@eueung I´d appreciate if you could share any thoughts. I´m facing the same issue. Thanks a lot.
I am having this issue too. As a workaround I have created my own shortcode for youtube in the meanwhile in case anyone wants to use:
I created this layout/shortcodes/yt.html
:
<iframe src="https://www.youtube.com/embed/{{ index .Params 0 }}?start={{ index .Params 1 }}"
style="position: absolute; top: 0; left: 0; width: 560; height: 315;" allowfullscreen frameborder="0" title="YouTube Video"></iframe>
Which creates a new shortcode called yt
so I use it like this:
{{< yt adfadadaa >}}
Awesome @softinio! I immediately tried it out and it works smoothly! Thanks a lot for this! FYI @eueung @shah @saifulmuhajir
I'm also having this issue. I've looked in devtools and the shortcode is working as the iframe is present in the markup.
I assume this is a styling issue.
Using
singleViewStyle = "casper"
causing Youtube videos not showing up on single post view. On the other hand, putting "caspertwo" showing Youtube videos just fine.