Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube frame not responsive #251

Closed
Aldhanekaa opened this issue Sep 5, 2020 · 3 comments
Closed

Youtube frame not responsive #251

Aldhanekaa opened this issue Sep 5, 2020 · 3 comments

Comments

@Aldhanekaa
Copy link

Aldhanekaa commented Sep 5, 2020

hmm, I have tried if I add youtube frames to our blog, it won't be responsible for phone or desktop.
I mean if we add this, it won't responsive:

<iframe src="https://www.youtube.com/embed/youtubeID" frameborder="0" allowfullscreen="false"> </iframe>
@Lednerb
Copy link
Owner

Lednerb commented Sep 5, 2020

To be clear:

You want to add the iframe tag directly into the content area and are not (only) using the video post type to include the video to your article?

@Aldhanekaa
Copy link
Author

Aldhanekaa commented Sep 5, 2020

To be clear:

You want to add the iframe tag directly into the content area and are not (only) using the video post type to include the video to your article?

Yeah, actually, I didn't use video post type, I just add the iFrame tag to the article type.
I use it like this:


---
#front frame article post
---

<figure class="video_container">
  <iframe src="https://www.youtube.com/embed/enMumwvLAug" frameborder="0" allowfullscreen="true"> </iframe>
</figure>

@Lednerb
Copy link
Owner

Lednerb commented Oct 30, 2020

Should be fixed by #262

Please update your theme with the latest one from the master branch and checkout the updated docs:
https://github.com/Lednerb/bilberry-hugo-theme#Videos

Thanks to @igor-baiborodine

@Lednerb Lednerb closed this as completed Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants