This post has been edited by Apt: 19 December 2016 - 08:29 PM
Server migration on Monday
#22
Posted 19 December 2016 - 08:30 PM
EDIT: Test 2: Tried embedding another video, the link just becomes invisible.
#23
Posted 19 December 2016 - 09:14 PM
That sucks. Funny videos are Apt's bread and butter around here.
They came with white hands and left with red hands.
#24
Posted 19 December 2016 - 09:19 PM
I played around with the BBCode for the tag but couldn't get anything to work. This was our previous code:
to
From the Youtube Guides:
So looks like we need to get use an <iframe> for the new one? I tried several of those, too, but still couldn't get one that works.
Hopefully someone with more expertise like Xae or Silencer can figure this out.
http://(\w+.|)youtube.com/watch?v={2}
to
<object width="425" height="355"><param name="movie" value="http://youtube.com/v/$2"></param><param name="wmode" value="transparent"></param><embed src="http://youtube.com/v/$2" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
From the Youtube Guides:
Quote
The document has been updated to reflect the fact that YouTube <object> embeds, the YouTube Flash Player API and the YouTube JavaScript Player API have all been deprecated as of January 27, 2015. A deprecation warning appears in several sections of this document to help point readers to the IFrame Player API as an alternative.
So looks like we need to get use an <iframe> for the new one? I tried several of those, too, but still couldn't get one that works.
Hopefully someone with more expertise like Xae or Silencer can figure this out.
#25
Posted 19 December 2016 - 09:30 PM
I think I managed to fix it. The YouTube media tag only supported plain HTTP.
Edit: Posted this before I saw D'rek's reply above.
Edit 2: Looking through some of the BBCode and auto-replacement tags, much of it is very, very old and needs updating to current standards. If it ain't broke and all that, but if something doesn't work, just let me know and I'll look into it.
Edit: Posted this before I saw D'rek's reply above.
Edit 2: Looking through some of the BBCode and auto-replacement tags, much of it is very, very old and needs updating to current standards. If it ain't broke and all that, but if something doesn't work, just let me know and I'll look into it.
#26
Posted 19 December 2016 - 09:49 PM
The video embeds now but when you try to play the video it gives an error message and tells you to try again later.
Checked bother the videos I submitted and they're both borked, so it's not on YouTubes end.
Checked bother the videos I submitted and they're both borked, so it's not on YouTubes end.
#27
#28
Posted 19 December 2016 - 10:04 PM
Made another change to the replacement regex. YouTube videos are playing now.
#29
Posted 19 December 2016 - 10:09 PM
Cool. And now the player actually appears in a wide format instead of the regular square.
#30
Posted 19 December 2016 - 11:17 PM
I don't want to always be the negative one and moan on and on about these things, but don't we run the risk of this site actually becoming functional? I mean, thinks starting to work properly, code updates, attention to user requests, it just reeks of competence.
Yesterday, upon the stair, I saw a man who wasn't there. He wasn't there again today. Oh, how I wish he'd go away.
#31
Posted 20 December 2016 - 08:07 PM
I can't see embedded images using HTTP (I have a bone to pick with the developers that created the CORS and Mixed Content specs...they clearly don't use forums where users can link any old image.).
For example, the image from bbcgoodfood.com that Apt embedded below doesn't display for me. I get the following in my console: "Loading mixed (insecure) display content “http://www.bbcgoodfood.com/sites/default/files/glossary/banana-crop.jpg” on a secure page".
I'm not sure there's anything that can be done server-side to fix this, short of rehosting all posted images. There must be a way to fix this client-side, but if there is, I'm not aware of it? (using FF).
EDIT: Some research leads me to believe that the error message I'm receiving is actually a warning and that the content should still be displaying. If it were being blocked, it would say "Blocked loading"...Hm.
EDIT2: Looks like it was an issue with uMatrix's "Strict HTTPS" setting. Fixed it by disabling that. So glad I went through that rigmarole to see that glorious image from Apt.
For example, the image from bbcgoodfood.com that Apt embedded below doesn't display for me. I get the following in my console: "Loading mixed (insecure) display content “http://www.bbcgoodfood.com/sites/default/files/glossary/banana-crop.jpg” on a secure page".
Apt, on 19 December 2016 - 08:28 PM, said:
EDIT: The image embed funtions
I'm not sure there's anything that can be done server-side to fix this, short of rehosting all posted images. There must be a way to fix this client-side, but if there is, I'm not aware of it? (using FF).
EDIT: Some research leads me to believe that the error message I'm receiving is actually a warning and that the content should still be displaying. If it were being blocked, it would say "Blocked loading"...Hm.
EDIT2: Looks like it was an issue with uMatrix's "Strict HTTPS" setting. Fixed it by disabling that. So glad I went through that rigmarole to see that glorious image from Apt.
This post has been edited by Whisperzzzzzzz: 20 December 2016 - 08:21 PM
#32
Posted 20 December 2016 - 08:25 PM
Is that the first time Apt has posted a selfie?
They came with white hands and left with red hands.
#33
Posted 20 December 2016 - 10:29 PM
Images loaded via HTTP should still work, at least for now. I'd imagine HTTPS will become stricter in the future and browsers will refuse to load any insecure assets.
It's easy enough to recurse through the database and replace HTTP URLs with HTTPS. Only problem is that other sites may not offer HTTPS.
It's easy enough to recurse through the database and replace HTTP URLs with HTTPS. Only problem is that other sites may not offer HTTPS.
#34
#35
Posted 14 February 2017 - 03:19 PM
Posting this a bit late I guess but I noticed it a few days after the migration and forgot about it until now
Jump to page feature in the page navigator:
juzmptopage.jpg (43.04K)
Number of downloads: 0
Doesn't work anymore for me:
error2.jpg (28.35K)
Number of downloads: 0
Changing skins or browsers doesn't help
It's not a big deal (else I would have posted this long before now obviously) but it can be helpful sometimes, especially in mafia threads
Jump to page feature in the page navigator:
juzmptopage.jpg (43.04K)
Number of downloads: 0
Doesn't work anymore for me:
error2.jpg (28.35K)
Number of downloads: 0
Changing skins or browsers doesn't help
It's not a big deal (else I would have posted this long before now obviously) but it can be helpful sometimes, especially in mafia threads
This post has been edited by Itwęs Nom: 14 February 2017 - 03:23 PM
All things fall from kings to rose petals