Bump. I really need this fixed. It's showing nada at the moment, just a good big gap between the lines.
This is the code I'm using:
- Code:
[panda=js]//**** PLUGIN YTVIDS ****//
avacweb_chat_config.message_hook.push(function(row, username, user_id, user, msg) {
var video = msg.children;
var regex= /embed|object/i;
for(var i =0; i<video.length;i++){
if(video[i].nodeType !== 1) continue;
if(regex.test(video[i].tagName)){
avacweb_chat.toggle_setting('reading');
cancelReading();
}
}
function cancelReading(){
avacweb_chat.id('chatbox').addEventListener('scroll', toggleSetting ,false);
}
function toggleSetting(){
avacweb_chat.toggle_setting('reading');
avacweb_chat.id('chatbox').removeEventListener('scroll', toggleSetting,false);
}
});
//**** END PLUGIN YTVIDS ****//
To me, being able to play YT videos in chat, will be one of the key elements on my board, so it's a very important feature! Like last year on my other website, people will want to share their latest YT let's play gaming videos with other members and share music videos while at it to be able to share interests and bond members.
If possible, I'd like the YT video to be shown without using BB-code, so when someone drops a YT link in chat, it should play the video straight away and continue to play (if the play button was hit) while other members and the member watching it are chatting.
I understand I'm throwing a lot at everyone's feet lately, but I have a very creative mind at work, while you're the clever ones working them out, translating that into stuff I'm able to use and others can profit from as well. Credit and Respect to those technicians working on them and many thanks to you!
My website:
http://www.friendcodes.nlVersion: phpBB3
I'm forwarding traffic from
http://www.friendcodes.nl to
http://fcnl.actieforum.com. I'm using AWC in a single and separate HTML page, members only, so PM me if you need an admin account (Avacweb Staff only, _Twisted_Mods_ got an account already) (
http://fcnl.actieforum.com/h1-friendcodes-chatbox ).
Love,
Samantha.