Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Let the flaming begin - Forum Rules ?
#76
(02-07-13, 03:54 PM)Farjo link Wrote: We use Aeva Media to display videos. It is no longer supported as the author is working on a replacement for SMF. YouTube videos that begin https are newish and so not supported. There is an easy fix and a difficult fix. The easy fix concerns the word censor i.e. swapping https for http (when followed by youtube etc - obviously I cannot type it here as the censor will censor it). This is the option I chose because 1. we are not using the censor and 2. it would have taken me a while to understand the difficult fix.

Here is the difficult fix:
http://www.simplemachines.org/community/...msg3555283

You can find the php files mentioned if you download the mod. Good luck!

I'm not entirely sure I understand the issue but would this work as a replacement for the youtube links in subs-Aeva-Sites.php ? (attached as a file incase the site breaks it).  Essentially modifying the regex for the pattern match by adding (http|https).  I can't check it anyway so I'm probably just making a fool of myself but s**t happens huh.
I assume you have a parallel/debug/backup/pilot/testing site you can test this on .


**** DO NOT USE THIS FILE AS IT IS (It's just an example for the youtube site to illustrate the regex change for pattern) ****


Attached Files
.php   Subs-Aeva-Sites.php (Size: 2.21 KB / Downloads: 2)
Opinions are like A**holes, Everyone has one.  Some people seem to have more than one though which is a bit odd.


Messages In This Thread
Re: Let the flaming begin - Forum Rules ? - by simonm - 02-07-13, 05:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)