s9e compatibility - mChat
s9e compatibility
Would anyone to be nice enough to figure out an option or a patch for mchat, so it would allow to disable parsing some or all of media handled by s9e extension?
While both mchat and s9e work wonders separately, with s9e installed each time a user makes an mchat post with a link to youtube url or twitter or something like that, this post turns into a multi-line monster that screws entire mchat view.
-
- Registered User
- Posts: 172
- Joined: Sun Jan 06, 2008 10:51 am
- Contact:
Re: s9e compatibility
Previously media in the mchat box merely messed with mchat view / scroll to the last message (as described in the previous post), which irritated a bit, but was bearable.
A month or so after the Chrome version update an unpleasant bug was introduced - the media embed in mchat was kinda flickering and clipping out of the mchat box, like this: https://imgur.com/ntuCZcM.
I tried changing the embed implementation and moved from s9e/mediaembed to official phpbb/mediaembed, but that didn't help much (in an afterthought, it did had to, but...).
So the question remains - would you kindly look at the possibility of disallowing mediaembed in mchat? Thanks!
-
- Registered User
- Posts: 172
- Joined: Sun Jan 06, 2008 10:51 am
- Contact:
Re: s9e compatibility
\ext\dmzx\mchat\styles\all\template\javascript\mchat.js
Code: Select all
$('iframe').each( function() {
var url = $(this).attr("src")
$(this).attr({
"src" : url.replace('?rel=0', '')+"?wmode=transparent",
"wmode" : "opaque"
})
});
- vader696
- Translator
- Posts: 122
- Joined: Sat Jan 21, 2017 11:38 am
- Location: Krakow, Poland
- Contact:
Re: s9e compatibility
- kasimi
- Former Team Member
- Posts: 4900
- Joined: Sat Sep 10, 2011 7:12 pm
- Location: Germany
- Contact:
Re: s9e compatibility
Thanks!
@kasimi
Thanks for looking into this!
Just to clarify for future readers - this extension only affects posts submitted while this extension was installed. Your previous media links in mchat still will be rendered as media.
-
- Registered User
- Posts: 172
- Joined: Sun Jan 06, 2008 10:51 am
- Contact: