Malazan Empire: Server migration on Monday - Malazan Empire

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Server migration on Monday

#21 User is offline   Aptorian 

  • How 'bout a hug?
  • Group: The Wheelchairs of War
  • Posts: 24,781
  • Joined: 22-May 06

Posted 19 December 2016 - 08:28 PM

EDIT: The image embed funtions

Posted Image

This post has been edited by Apt: 19 December 2016 - 08:29 PM

0

#22 User is offline   Aptorian 

  • How 'bout a hug?
  • Group: The Wheelchairs of War
  • Posts: 24,781
  • Joined: 22-May 06

Posted 19 December 2016 - 08:30 PM



EDIT: Test 2: Tried embedding another video, the link just becomes invisible.
0

#23 User is online   worry 

  • Master of the Deck
  • Group: Malaz Regular
  • Posts: 14,574
  • Joined: 24-February 10
  • Location:the buried west

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.
0

#24 User is offline   D'rek 

  • Consort of High House Mafia
  • Group: Super Moderators
  • Posts: 14,600
  • Joined: 08-August 07
  • Location::

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:

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.

View Postworrywort, on 14 September 2012 - 08:07 PM, said:

I kinda love it when D'rek unleashes her nerd wrath, as I knew she would here. Sorry innocent bystanders, but someone's gotta be the kindling.
0

#25 User is offline   Xae 

  • Server Administrator
  • Group: Administrators
  • Posts: 90
  • Joined: 12-March 13

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.
0

#26 User is offline   Aptorian 

  • How 'bout a hug?
  • Group: The Wheelchairs of War
  • Posts: 24,781
  • Joined: 22-May 06

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.
0

#27 User is offline   Aptorian 

  • How 'bout a hug?
  • Group: The Wheelchairs of War
  • Posts: 24,781
  • Joined: 22-May 06

Posted 19 December 2016 - 09:54 PM

View Postdeath rattle, on 19 December 2016 - 09:14 PM, said:

That sucks. Funny videos are Apt's bread and butter around here.


I would embed a Sarach McLachlan video about angels and puppy dogs now and ask for donations, but... I can't! :p
0

#28 User is offline   Xae 

  • Server Administrator
  • Group: Administrators
  • Posts: 90
  • Joined: 12-March 13

Posted 19 December 2016 - 10:04 PM

Made another change to the replacement regex. YouTube videos are playing now.
2

#29 User is offline   Aptorian 

  • How 'bout a hug?
  • Group: The Wheelchairs of War
  • Posts: 24,781
  • Joined: 22-May 06

Posted 19 December 2016 - 10:09 PM

Cool. And now the player actually appears in a wide format instead of the regular square.
0

#30 User is offline   Gorefest 

  • Witness
  • Group: Malaz Regular
  • Posts: 2,981
  • Joined: 29-May 14
  • Location:Sheffield

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.
3

#31 User is offline   Whisperzzzzzzz 

  • Reaper's Fail
  • Group: Malaz Regular
  • Posts: 2,437
  • Joined: 10-May 10
  • Location:Westchester, NY

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".

View PostApt, on 19 December 2016 - 08:28 PM, said:

EDIT: The image embed funtionsPosted Image


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

1

#32 User is online   worry 

  • Master of the Deck
  • Group: Malaz Regular
  • Posts: 14,574
  • Joined: 24-February 10
  • Location:the buried west

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.
0

#33 User is offline   Xae 

  • Server Administrator
  • Group: Administrators
  • Posts: 90
  • Joined: 12-March 13

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.
0

#34 User is offline   Abyss 

  • abyssus abyssum invocat
  • Group: Administrators
  • Posts: 21,788
  • Joined: 22-May 03
  • Location:The call is coming from inside the house!!!!
  • Interests:Interesting.

Posted 21 December 2016 - 04:15 AM

View PostApt, on 19 December 2016 - 08:28 PM, said:

EDIT: The image embed funtions

Posted Image


Dammit Apt this isn't Tinder!
THIS IS YOUR REMINDER THAT THERE IS A
'VIEW NEW CONTENT' BUTTON THAT
ALLOWS YOU TO VIEW NEW CONTENT
1

#35 User is offline   Itwęs Nom 

  • Inquisitor of High House Mafia
  • Group: High House Mafia
  • Posts: 1,535
  • Joined: 02-August 15

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:
Attached File  juzmptopage.jpg (43.04K)
Number of downloads: 0

Doesn't work anymore for me:
Attached File  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
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users