Duke4.net Forums: YouTube videos embedding - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

YouTube videos embedding

User is offline   NY00123 

#1

Hi all,

I'm wondering if there are a few changes that can be made regarding the "embedded YouTube videos" feature:
- HTTPS appears to be used in YouTube for all videos now. However, I think that the forums don't currently parse HTTPS video links as expected.
- Can the embed code be changed so, not only the YouTube URLs are prefixed by https (if possible), but the HTML5 player is used, if enabled? Right now it looks like Flash is forced.
- Finally (that may be more difficult so I consider this optional), be able to parse a bit more complicated URLs, like this one: http://www.youtube.c...d&v=fKvOCNWNZb4

For reference, I've edited the following page today so the HTML5 player is used if available, and all YouTube links are prefixed by https now: http://ny.duke4.net/video.html
Not sure it's the right way, but at least it works. Note that YouTube itself offers (HTML5) video embedding using the HTML iframe tag, but I haven't used this since it isn't available in XHTML 1.0 Strict (but this may be a bit off-topic).

A few tests URLs for reference (currently only the first of them is translated to an embedded video):
- HTTP link:

- HTTPS link:

- Longer HTTP link:
http://www.youtube.c...d&v=fKvOCNWNZb4

Thanks for your forums and website!

This post has been edited by NY00123: 26 June 2015 - 04:19 AM

0

User is offline   Radar 

  • King of SOVL

#2

I'm wondering if the Yang servers could go back online anytime soon. :)

This post has been edited by Nopony: 26 June 2015 - 08:56 PM

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#3

This forums software hasn't been updated in years...

Most forums support almost all the latest media formats including the Steam screen shot links etc.

This post has been edited by The Commander: 27 June 2015 - 12:11 PM

0

User is online   Hendricks266 

  • Weaponized Autism

  #4

View PostNY00123, on 26 June 2015 - 03:09 AM, said:

I'm wondering if there are a few changes that can be made regarding the "embedded YouTube videos" feature:

I don't know how the feature works, and it's definitely not something that the admins have coded themselves. It's likely not to change until we upgrade the forum software at some future date when we have the time and talent to reskin everything.
0

User is offline   Mark 

#5

Leave the skin alone. I hate change ( sometimes ) Just add the new features behind the scenes.
0

User is offline   Robman 

  • Asswhipe [sic]

#6

View PostMark., on 31 July 2015 - 03:26 PM, said:

Leave the skin alone. I hate change ( sometimes ) Just add the new features behind the scenes.

Posted Image
1

User is online   Hendricks266 

  • Weaponized Autism

  #7

View PostMark., on 31 July 2015 - 03:26 PM, said:

Leave the skin alone. I hate change ( sometimes ) Just add the new features behind the scenes.

That's not how forum upgrades work. You have to redesign the skin for the new software, which often means starting over.
0

User is offline   X-Vector 

#8

View PostHendricks266, on 31 July 2015 - 02:52 PM, said:

It's likely not to change until we upgrade the forum software at some future date when we have the time and talent to reskin everything.


That's a shame, since I've disabled the Flash plugin in my browser, so I currently see lots of grey boxes with an "X" in them.
The other websites and forums that I visit have already made the switch to iFrame (except for the 3DR forums which don't support YT embedding at all).

https://developers.g...outube-api-list
https://developers.g...e_api_reference
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options