Where is the code to generate IFRAME for YouTube, etc.? #179

Closed
opened 2021-02-25 02:28:02 +00:00 by peterarthurmartin · 3 comments
peterarthurmartin commented 2021-02-25 02:28:02 +00:00 (Migrated from gitlab.com)

I find this works well for responsive videos

https://www.w3schools.com/howto/howto_css_responsive_iframes.asp

I find this works well for responsive videos https://www.w3schools.com/howto/howto_css_responsive_iframes.asp
tslocum commented 2021-02-26 00:33:58 +00:00 (Migrated from gitlab.com)

Thanks for suggesting this. This is a possible solution for #151.

Thanks for suggesting this. This is a possible solution for #151.
peterarthurmartin commented 2021-02-26 02:18:06 +00:00 (Migrated from gitlab.com)

If you could point me to where the code is, I could experiment a bit. I can't find it searching for "embed" and "iframe" in the php files. Is it done by jquery?

The install I'm experimenting with is here if anyone is interested:

https://www.appbbs.com

Thanks for writing and maintaining this, Trevor. I'm having a lot of fun tweaking things to alter the layout a bit and making it easier to set up multiple boards.

If you could point me to where the code is, I could experiment a bit. I can't find it searching for "embed" and "iframe" in the php files. Is it done by jquery? The install I'm experimenting with is here if anyone is interested: https://www.appbbs.com Thanks for writing and maintaining this, Trevor. I'm having a lot of fun tweaking things to alter the layout a bit and making it easier to set up multiple boards.
tslocum commented 2021-02-26 22:46:03 +00:00 (Migrated from gitlab.com)

The HTML for the embed is returned by YouTube (from the oEmbed request) and stored within the post here.

The HTML for the embed is returned by YouTube (from the oEmbed request) and stored within the post [here](https://gitlab.com/tslocum/tinyib/-/blob/0f6c8b2a939b5d7c741e6840a598f4bc5f0421e8/imgboard.php#L424).
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/tinyib#179
No description provided.