Calguns.net  

Home My iTrader Join the NRA Donate to CGSSA Sponsors CGN Google Search
CA Semiauto Ban(AW)ID Flowchart CA Handgun Ban ID Flowchart CA Shotgun Ban ID Flowchart
Go Back   Calguns.net > CALGUNS.NET > Account Issues, Outage Reports and Technical problems
Register FAQ Members List Calendar Mark Forums Read

Account Issues, Outage Reports and Technical problems Reports, Questions or Requests related to your account and/or forum functionality.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2021, 3:41 PM
axhoaxho's Avatar
axhoaxho axhoaxho is offline
Calguns Addict
 
Join Date: Jun 2009
Posts: 6,246
iTrader: 0 / 0%
Default Embedded Youtube videos displayed as blank spaces in Calguns posts?

Recently, my iMac automatically updated itself to the latest versions of macOS (Big Sur Version 11.6) and Safari (Version 15.0.)

After the update; when I viewed the Calguns posts, all the embedded Youtube videos were displayed as blank spaces...


For example, if you could see the Youtube video below, all I could see was just a blank space on my screen.

Any CG tech guru can shed some light on it? Thanks!


Reply With Quote
  #2  
Old 09-24-2021, 5:12 PM
Robotron2k84's Avatar
Robotron2k84 Robotron2k84 is offline
Senior Member
 
Join Date: Sep 2017
Posts: 1,582
iTrader: 2 / 100%
Default

iOS 15 seems to have done away with the non-html5 player widget (inside of iOS).

That means CGN has to upgrade their plugin to serve the html5 version of the player to iOS 15 (and above) devices.

Given the age of the forum software, this will have to be a hack into the old YT forum plugin.
Reply With Quote
  #3  
Old 09-24-2021, 9:50 PM
Librarian's Avatar
Librarian Librarian is offline
Administrator
CGN Contributor - Lifetime
 
Join Date: Oct 2005
Location: Cottage Grove, OR
Posts: 42,093
iTrader: 4 / 100%
Default

MacOS is not yet IOS.

It still may be true that Safari 15 does not like the youtube whatsit from Calguns, though.

axhoaxho, have you tried a different browser?

Last edited by Librarian; 09-24-2021 at 9:52 PM..
Reply With Quote
  #4  
Old 09-24-2021, 11:40 PM
Robotron2k84's Avatar
Robotron2k84 Robotron2k84 is offline
Senior Member
 
Join Date: Sep 2017
Posts: 1,582
iTrader: 2 / 100%
Default

Safari is the same across both products, though. And that’s where the player widget code lives on the client side, by default. The old-style Safari widget emulated Flash Video, and that’s been removed.

Here’s the doc on what needs fixing:

https://developers.google.com/youtube/player_parameters

The current plug-in generates the following for the above video:

Code:
<object width="425" height="350">
  <param name="movie" value="https://www.youtube.com/v/WzHG-ibZaKM">
  <embed src="https://www.youtube.com/v/WzHG-ibZaKM"
    type="application/x-shockwave-flash"
    width="425" height="350">
</object>
To use the html5 player the viewport needs to be in an iframe tag (probably best to uniquely ID the iframe with the video ID), and call the url as:

Code:
<iframe id="ytplayer_WzHG-ibZaKM" type="text/html" width="425" height="350"
  src="https://www.youtube.com/embed/WzHG-ibZaKM?autoplay=0&origin=https://calguns.net"
  frameborder="0"></iframe>
However, JS-based methods for operating on the iframe ID will still probably fail if the posts are quoted, as there will be multiple iframes with the same ID. So, the PHP that quotes the post should probably tie the iframe ID with the post ID in any quoted post.
Reply With Quote
  #5  
Old 09-25-2021, 12:22 AM
axhoaxho's Avatar
axhoaxho axhoaxho is offline
Calguns Addict
 
Join Date: Jun 2009
Posts: 6,246
iTrader: 0 / 0%
Default

Quote:
Originally Posted by Librarian View Post
MacOS is not yet IOS.

It still may be true that Safari 15 does not like the youtube whatsit from Calguns, though.

axhoaxho, have you tried a different browser?
Sorry I only have Safari on my iMac.

On my MacBook Pro it works okay (which still has the older versions of Big Sur Version 11.5.2 and Safari 14.1.2.) -- I can see the embedded Youtube videos in Calguns posts.
Reply With Quote
  #6  
Old 09-25-2021, 12:38 PM
Librarian's Avatar
Librarian Librarian is offline
Administrator
CGN Contributor - Lifetime
 
Join Date: Oct 2005
Location: Cottage Grove, OR
Posts: 42,093
iTrader: 4 / 100%
Default

Well, as Robotron2k84 suggests, the fix on Calguns' end is likely rather far in the future, so some work-around looks to be the answer. I'd expect the full migration to some other platform makes more sense than trying to patch this version of vBulletin.

I'm using Firefox 87 on my Macbook Pro; I found that Firefox 91 screwed up Calguns quite bit, so went to a backup and downgraded. Might be a similar implementation situation, though I did not happen to look at embedded youtube with 91.

Thanks for the research, Robotron2k84.
Reply With Quote
  #7  
Old 09-25-2021, 1:53 PM
Robotron2k84's Avatar
Robotron2k84 Robotron2k84 is offline
Senior Member
 
Join Date: Sep 2017
Posts: 1,582
iTrader: 2 / 100%
Default

Depending on how far back you wish to support for browser versions, site management could just make the change to serve every YT video with the new player and make a fairly small change in the couple of files that inject the player code.

You could also probably drop the iframe ID without consequence if you never intend to use DOM actions to alter them after the page loads.

Something to think about.
Reply With Quote
  #8  
Old 09-25-2021, 10:39 PM
the86d's Avatar
the86d the86d is offline
Calguns Addict
 
Join Date: Jul 2011
Location: Burbs of Dallas, TX
Posts: 9,381
iTrader: 5 / 100%
Default

Doesn't Firefox work on iPhruity devices?
__________________
Quote:
Originally Posted by the86d View Post
I sold most of our guns in a fortunate setting-sail [for TX] incident…
Reply With Quote
  #9  
Old 09-26-2021, 12:49 AM
axhoaxho's Avatar
axhoaxho axhoaxho is offline
Calguns Addict
 
Join Date: Jun 2009
Posts: 6,246
iTrader: 0 / 0%
Default

What sucks to me is..... all I see is just a blank space in the post..... even if I right click it, it wouldn't show the URL of the embedded Youtube video..... so I have no way to watch the video even if I want to copy the URL to another tab.
Reply With Quote
  #10  
Old 09-26-2021, 5:55 AM
Marauder2003's Avatar
Marauder2003 Marauder2003 is offline
CGN/CGSSA Contributor
CGN Contributor
 
Join Date: Aug 2010
Location: NV
Posts: 1,565
iTrader: 1 / 100%
Default

Quote the message and you will see the URL. Copy then cancel quote.

Quote:
Originally Posted by axhoaxho View Post
What sucks to me is..... all I see is just a blank space in the post..... even if I right click it, it wouldn't show the URL of the embedded Youtube video..... so I have no way to watch the video even if I want to copy the URL to another tab.
__________________
#NotMyPresident
#ArrestFauci
Reply With Quote
  #11  
Old 09-26-2021, 1:11 PM
axhoaxho's Avatar
axhoaxho axhoaxho is offline
Calguns Addict
 
Join Date: Jun 2009
Posts: 6,246
iTrader: 0 / 0%
Default

Quote:
Originally Posted by Marauder2003 View Post
Quote the message and you will see the URL. Copy then cancel quote.
Wow, brilliant! Thanks very much!

Reply With Quote
  #12  
Old 09-27-2021, 4:45 PM
the86d's Avatar
the86d the86d is offline
Calguns Addict
 
Join Date: Jul 2011
Location: Burbs of Dallas, TX
Posts: 9,381
iTrader: 5 / 100%
Default

Firefox has a problem for a few revs with I believe it was https and http on the same page, as I recall, where something similar would happen with embedded viudeo...
__________________
Quote:
Originally Posted by the86d View Post
I sold most of our guns in a fortunate setting-sail [for TX] incident…
Reply With Quote
  #13  
Old 10-08-2021, 7:16 PM
Diabolus's Avatar
Diabolus Diabolus is online now
Veteran Member
 
Join Date: Mar 2006
Location: Southern California / Los Angeles
Posts: 4,652
iTrader: 41 / 100%
Default

Has anyone figured out a way to fix Safari so Youtube shows up?
Reply With Quote
  #14  
Old 10-09-2021, 12:39 AM
axhoaxho's Avatar
axhoaxho axhoaxho is offline
Calguns Addict
 
Join Date: Jun 2009
Posts: 6,246
iTrader: 0 / 0%
Default

Quote:
Originally Posted by Diabolus View Post
Has anyone figured out a way to fix Safari so Youtube shows up?
I haven't seen any real solution yet... I still cannot view Youtube in Safari 15.0... so far I just use the 'Quote-Copy-URL' trick that Marauder2003 suggested at above...
Reply With Quote
  #15  
Old 10-09-2021, 4:40 PM
Robotron2k84's Avatar
Robotron2k84 Robotron2k84 is offline
Senior Member
 
Join Date: Sep 2017
Posts: 1,582
iTrader: 2 / 100%
Default

The fix needs to happen from the Calguns side. Flash video (and flash itself) is dead, gone and buried. Embedding flash video format, even though YouTube is still serving it, is problematic as more browsers phase out flash support. Eventually YouTube will stop serving it, as well.

Content-wise, Adobe and Apple have stopped supporting encoding for flash video, and now only support web-capable versions of their codecs. The lowdown, is that this site needs to change the method of serving the video links, to bring functionality up to current standards.

Browsers, since 2016, have all supported html5 video and MP4/H.264, so it’s not asking that much to switch everyone over.

I provided the new format for the forum plug-in to serve. It’s now just up to site management if they want to make the change in the short-term, or upgrade to new forum software and jump ahead.
Reply With Quote
  #16  
Old 10-09-2021, 8:55 PM
Diabolus's Avatar
Diabolus Diabolus is online now
Veteran Member
 
Join Date: Mar 2006
Location: Southern California / Los Angeles
Posts: 4,652
iTrader: 41 / 100%
Default

Quote:
Originally Posted by Robotron2k84 View Post
The fix needs to happen from the Calguns side. Flash video (and flash itself) is dead, gone and buried. Embedding flash video format, even though YouTube is still serving it, is problematic as more browsers phase out flash support. Eventually YouTube will stop serving it, as well.

Content-wise, Adobe and Apple have stopped supporting encoding for flash video, and now only support web-capable versions of their codecs. The lowdown, is that this site needs to change the method of serving the video links, to bring functionality up to current standards.

Browsers, since 2016, have all supported html5 video and MP4/H.264, so it’s not asking that much to switch everyone over.

I provided the new format for the forum plug-in to serve. It’s now just up to site management if they want to make the change in the short-term, or upgrade to new forum software and jump ahead.
Thanks for the explanation. I assume it's a lot of work, or risky, to upgrade software on a forum of this size?

is the plug-in easier, more complicated, what's the story?
Reply With Quote
  #17  
Old 10-09-2021, 9:34 PM
Librarian's Avatar
Librarian Librarian is offline
Administrator
CGN Contributor - Lifetime
 
Join Date: Oct 2005
Location: Cottage Grove, OR
Posts: 42,093
iTrader: 4 / 100%
Default

Quote:
Originally Posted by Diabolus View Post
Thanks for the explanation. I assume it's a lot of work, or risky, to upgrade software on a forum of this size?

is the plug-in easier, more complicated, what's the story?
For something as old as this, without official support, it's risky.

vB 3 came out in 2004; 3.8 before 2009 (can't easily find the actual release date).
Reply With Quote
  #18  
Old 10-10-2021, 7:09 AM
Diabolus's Avatar
Diabolus Diabolus is online now
Veteran Member
 
Join Date: Mar 2006
Location: Southern California / Los Angeles
Posts: 4,652
iTrader: 41 / 100%
Default

Quote:
Originally Posted by Librarian View Post
For something as old as this, without official support, it's risky.

vB 3 came out in 2004; 3.8 before 2009 (can't easily find the actual release date).
Yikes, that's going way back. Definitely risky.
Reply With Quote
  #19  
Old 10-10-2021, 9:14 AM
Robotron2k84's Avatar
Robotron2k84 Robotron2k84 is offline
Senior Member
 
Join Date: Sep 2017
Posts: 1,582
iTrader: 2 / 100%
Default

For a PHP-fluent dev, it’s a five minute edit to a couple of files that templatize the player code.

I don’t believe that anything more than the video ID is stored in the database (with the post text), so the PHP file(s) that construct and inject the player HTML code are all that this change would entail.
Reply With Quote
  #20  
Old 10-10-2021, 9:58 AM
Librarian's Avatar
Librarian Librarian is offline
Administrator
CGN Contributor - Lifetime
 
Join Date: Oct 2005
Location: Cottage Grove, OR
Posts: 42,093
iTrader: 4 / 100%
Default

Quote:
Originally Posted by Robotron2k84 View Post
For a PHP-fluent dev, it’s a five minute edit to a couple of files that templatize the player code.
Side note: I used to supervise programmers making fixes - 'it's just a five minute fix' is about as terrifying a thing to say as I can imagine in that context.
__________________
When a Long Train of Abuses and Usurpations, Pursuing Invariably the Same Object, Evinces a Design to Reduce Them [I.E. the People] Under Absolute Despotism, It Is Their Right, It Is Their Duty, to Throw off Such Government, and to Provide New Guards for Their Future Security.”
– Declaration of Independence, July 4th, 1776
"The object of life is not to be on the side of the majority, but to escape finding oneself in the ranks of the insane."

- Marcus Aurelius
Consider Samizdat; consider some reading material, such as this and that.

Not a lawyer, just Some Guy On The Interwebs.



Reply With Quote
  #21  
Old 10-10-2021, 10:58 AM
Robotron2k84's Avatar
Robotron2k84 Robotron2k84 is offline
Senior Member
 
Join Date: Sep 2017
Posts: 1,582
iTrader: 2 / 100%
Default

^ LOL. I know what you are saying.

However, the scope of this change is genuinely pretty small and can be reverted easily.
Reply With Quote
  #22  
Old 10-10-2021, 1:45 PM
gcvt's Avatar
gcvt gcvt is online now
Let's Go Brandon!
CGN Contributor
 
Join Date: Apr 2008
Location: Las Vegas, NV since 3/1/20
Posts: 10,765
iTrader: 18 / 100%
Default

Quote:
Originally Posted by Librarian View Post
Side note: I used to supervise programmers making fixes - 'it's just a five minute fix' is about as terrifying a thing to say as I can imagine in that context.
Another favorite is: "All you gotta do is..."
__________________
FOR SALE: MacBook Pro 15"

Quote:
Originally Posted by Kestryll View Post
I want to be Princess Anastasia today because I feel pretty
Quote:
Originally Posted by QuarterBoreGunner View Post
Kes is really just an errand boy
Quote:
Originally Posted by Kestryll View Post
I am NOT...anything other than a schmuck...
Reply With Quote
  #23  
Old 10-10-2021, 9:53 PM
Robotron2k84's Avatar
Robotron2k84 Robotron2k84 is offline
Senior Member
 
Join Date: Sep 2017
Posts: 1,582
iTrader: 2 / 100%
Default

Researching this a little more, admin can do the following (example):

Navigate to:

Admin CP -> Custom BB Codes -> Add New BB Code

Title - YouTubeHTML5
Tag - youtube5

replacement:

Code:
<iframe id="ytplayer_{param}" type="text/html" width="425" height="350"
  src="https://www.youtube.com/embed/{param}?autoplay=0&origin=https://www.calguns.net"
  frameborder="0"></iframe>
That would create a new BB tag [youtube5][/youtube5] that would invoke the html5 player.
Reply With Quote
  #24  
Old 10-15-2021, 9:05 AM
Marauder2003's Avatar
Marauder2003 Marauder2003 is offline
CGN/CGSSA Contributor
CGN Contributor
 
Join Date: Aug 2010
Location: NV
Posts: 1,565
iTrader: 1 / 100%
Default

Let’s get this done. I have upgraded my iPad to 15.0.2 and it is now affecting me.

Quote:
Originally Posted by Robotron2k84 View Post
Researching this a little more, admin can do the following (example):

Navigate to:

Admin CP -> Custom BB Codes -> Add New BB Code

Title - YouTubeHTML5
Tag - youtube5

replacement:

Code:
<iframe id="ytplayer_{param}" type="text/html" width="425" height="350"
  src="https://www.youtube.com/embed/{param}?autoplay=0&origin=https://www.calguns.net"
  frameborder="0"></iframe>
That would create a new BB tag [youtube5][/youtube5] that would invoke the html5 player.
__________________
#NotMyPresident
#ArrestFauci
Reply With Quote
  #25  
Old 10-17-2021, 2:13 AM
axhoaxho's Avatar
axhoaxho axhoaxho is offline
Calguns Addict
 
Join Date: Jun 2009
Posts: 6,246
iTrader: 0 / 0%
Default

Quote:
Originally Posted by Marauder2003 View Post
Let’s get this done. I have upgraded my iPad to 15.0.2 and it is now affecting me.

Same here. Pretty please.
Reply With Quote
  #26  
Old 10-17-2021, 9:29 AM
gcvt's Avatar
gcvt gcvt is online now
Let's Go Brandon!
CGN Contributor
 
Join Date: Apr 2008
Location: Las Vegas, NV since 3/1/20
Posts: 10,765
iTrader: 18 / 100%
Default

Yes, if we can get this fixed me love you long time.
__________________
FOR SALE: MacBook Pro 15"

Quote:
Originally Posted by Kestryll View Post
I want to be Princess Anastasia today because I feel pretty
Quote:
Originally Posted by QuarterBoreGunner View Post
Kes is really just an errand boy
Quote:
Originally Posted by Kestryll View Post
I am NOT...anything other than a schmuck...
Reply With Quote
  #27  
Old 10-20-2021, 9:22 PM
squeeze squeeze is offline
Senior Member
 
Join Date: Jul 2011
Posts: 916
iTrader: 0 / 0%
Default

Is there a translation of the above for us non-geeks?

I have been upgrading my Mac OS (11.6)/Safari (v15.0) and noticed the YT missing last night. I also discovered the "quote" button copy/paste method of viewing.

I also noticed that in my address bar calguns is shown as being "not secure"
This gonna cause a problem?
Reply With Quote
  #28  
Old 10-20-2021, 11:01 PM
Librarian's Avatar
Librarian Librarian is offline
Administrator
CGN Contributor - Lifetime
 
Join Date: Oct 2005
Location: Cottage Grove, OR
Posts: 42,093
iTrader: 4 / 100%
Default

Quote:
Originally Posted by squeeze View Post
Is there a translation of the above for us non-geeks?

I have been upgrading my Mac OS (11.6)/Safari (v15.0) and noticed the YT missing last night. I also discovered the "quote" button copy/paste method of viewing.

I also noticed that in my address bar calguns is shown as being "not secure"
This gonna cause a problem?
Early answer from Robotron:
Quote:
That means CGN has to upgrade their plugin to serve the html5 version of the player to iOS 15 (and above) devices.
The forum software, vBulletin, has bits of code to provide services. The HTML5 standard (2015-ish) did not exist when this version of vBulletin came out (2009-ish).

Newer software, including Safari 15, may support only the HTML5 standard for some or many features. That's the case with youtube players.

So, net effect is Calguns old software no longer works with parts of newer software.

Yes, there are plans to upgrade the forum software.

No, I do not know when that might happen - it will be a Big Deal, so Kestryll (who owns Calguns) will eventually provide more information, and I would expect a service interruption of a few days, but I'm not involved in that project, so I do not know.
__________________
When a Long Train of Abuses and Usurpations, Pursuing Invariably the Same Object, Evinces a Design to Reduce Them [I.E. the People] Under Absolute Despotism, It Is Their Right, It Is Their Duty, to Throw off Such Government, and to Provide New Guards for Their Future Security.”
– Declaration of Independence, July 4th, 1776
"The object of life is not to be on the side of the majority, but to escape finding oneself in the ranks of the insane."

- Marcus Aurelius
Consider Samizdat; consider some reading material, such as this and that.

Not a lawyer, just Some Guy On The Interwebs.




Last edited by Librarian; 10-20-2021 at 11:06 PM..
Reply With Quote
  #29  
Old 10-21-2021, 9:50 PM
axhoaxho's Avatar
axhoaxho axhoaxho is offline
Calguns Addict
 
Join Date: Jun 2009
Posts: 6,246
iTrader: 0 / 0%
Default

Quote:
Originally Posted by Librarian View Post

Yes, there are plans to upgrade the forum software.

Yeah!!

Reply With Quote
  #30  
Old 10-22-2021, 9:40 AM
Marauder2003's Avatar
Marauder2003 Marauder2003 is offline
CGN/CGSSA Contributor
CGN Contributor
 
Join Date: Aug 2010
Location: NV
Posts: 1,565
iTrader: 1 / 100%
Default

Hopefully any update will include software that resizes HUGE uploaded pics to 1024x768 or so. Would help on server storage space, too.
__________________
#NotMyPresident
#ArrestFauci
Reply With Quote
  #31  
Old 11-23-2021, 6:18 PM
skilletboy's Avatar
skilletboy skilletboy is offline
CGN/CGSSA Contributor
CGN Contributor
 
Join Date: Feb 2010
Location: GP, OR, State of Jefferson
Posts: 2,161
iTrader: 0 / 0%
Default

Just wanted to chime in, there are more and more people experiencing this glitch.

Thanks Robotron for letting us know this thread exists. I'll be hoping for an update possibly....

Thanks Librarian for looking into it!
__________________
Quote:
"If the American people come to believe that the government is no longer constrained by the law then they will conclude that neither are they." - Michael Cannon, Cato Inst. 2014
_________________________________________

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -8. The time now is 4:56 PM.




Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Proudly hosted by GeoVario the Premier 2A host.
Calguns.net, the 'Calguns' name and all associated variants and logos are ® Trademark and © Copyright 2002-2021, Calguns.net an Incorporated Company All Rights Reserved.
All opinions, statements and remarks made by Calguns.net on this web site and elsewhere are solely attributable to Calguns.net.



Seams2SewBySusy

Tactical Pants Tactical Boots Military Boots 5.11 Tactical