To embed any video we simply paste the video link when creating a topic.
However, why is it that when I embed a YouTube video, (see below) it stretches from end to end? Whereas when I embed a Video from Vimeo, it does not stretch from end to end.
Any way this can be fixed?
I have seen no difference even if I allocate a video size in VIMEO embed code. The video still displays the same as pasting the video link.
In both cases all I do is paste the video URL.
Looks like I cannot embed a video here. So here are some screenshots from my community. The Vimeo video width is shorter than the YouTube Video width. Is there a way to make the Vimeo video also expand to the maximum allowed width?
I have PR for full width vimeo oneboxes
I am new to discourse and have no idea what does PR mean (as mentioned by you, “I have PR for full width vimeo oneboxes”)
Although you have shown me a test that now works, what do I have to do to get it to work? Because Vimeo videos in my community still do not expand to full fidth.
I am still trying to make sense of what you just did in this post above. I’d really appreciate it if you can tell me what I need to do to fix this in my community. Thanks
PR means “pull request”, and it refers to GitHub. Essentially it means that Falco made a change to the Discourse code, and is looking to get that change reviewed before merging the change into Discourse.
This specific Discourse site, meta.discourse.org, is updated automatically with every change one of our engineers make. Your site is not deployed automatically like that - we deploy customers on a regular, but less frequent, basis. I’ve gone ahead and initiated an deploy (update) for your site. The deploy should complete in ~30 minutes.
Once the deploy is complete, you’ll need to rebuild the post. To do that, click the “show more” button below the post, then click the admin wrench. Lastly, click “rebuild HTML”
Thank you so much.
Joshua, thank you so much for clarifying everything. Appreciate it.
Does this change also work with private vimeo embeds? (i.e. the player link with
?h=<some identifier> attached to it)
If they worked before they should work with this change looking at the code changes in the commit.
They experience an oddity in embed size. Even after this commit, the size of private videos remains small. I’m hoping there is a way to make those full width too?
I don’t have a Vimeo account to create those private videos so
I’m having this trouble too. I’m running Discourse 2.9.0.beta9 (56832adf17)
This is especially problematic on small screens (resize this screen and you can see how tiny the second one - the OneBoxed one - becomes).
Here is the link including the player in the URL… (this one doesn’t shrink on smaller screens, but I can’t seem to center it either.)
And the one below here is OneBoxed... (this one shrinks and becomes too tiny on smaller screen sizes.)