Keyword

HD / Widescreen controls for {youtube}

  • Christian Puffer
  • Christian Puffer's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 day ago #39633 by Christian Puffer
HD / Widescreen controls for {youtube} was created by Christian Puffer
Okay, I was going to bump a different request but your forum script said that thread was old and maybe I should start my own. Soo...

My search for 'HD Video' returned two semi-recent but different requests threads basically asking for the same thing, the ability to embed at a higher quality than the default. So, yeah, officially requesting an update of AllVideos to reflect improvements in the YouTube embedding. Right now I'm about to go into the source code and see if I can add a string that will default to that.

Please Log in or Create an account to join the conversation.

  • Christian Puffer
  • Christian Puffer's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 day ago #39634 by Christian Puffer
Replied by Christian Puffer on topic Re: HD / Widescreen controls for {youtube}
All right, folks. Didn't take too much digging, and I patched together some info from a few sources, including this forum, and found where in the code you update it.

Quickly:
* in \plugins\content\jw_allvideos\includes\sources.php find the YouTube block.
* in the URL string(s) add this:
&hd=1
  So this:
https://www.youtube.com/v/{SOURCE}&hl=en&fs=1
  Becomes this:
https://www.youtube.com/v/{SOURCE}&hl=en&fs=1&hd=1
* You can add other YouTube operators there. I added No Related Videos.
  So my URL became this:
https://www.youtube.com/v/{SOURCE}&hl=en&rel=0&fs=1&hd=1

The URL is in two places, both the <object ...> and the <para name= ...>

If anyone has anything to add that'd be great.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #39635 by naturalp
Replied by naturalp on topic Re: HD / Widescreen controls for {youtube}
nah - doesn't work!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum