MyBB Community Forums

Full Version: Videos not embedding properly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i just can't figure this out, so ill ask here, one member of my forum at http://www.boxingbb.com said they tried to put a youtube link using the built in youtube myCode button and all that shows is [video=youtube]VIDEOLINK[/video], any ideas?
What's in there in ./inc/class_parser.php file around line # 977 - 985 ?
 $title = htmlspecialchars_uni($path[3]);
				break;
			case "myspacetv":
				$id = $input['videoid']; // http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=fds123
				break;
			case "yahoo":
				$id = $path[3]; // http://video.yahoo.com/watch/fds123/abc567
				$vid = htmlspecialchars_uni($path[2]);
				break;


Here
Backup the old ./inc/class_parser.php file and overwrite the following;

Gave me an error
Fatal error: Call to undefined function hidetags() in /home/erikk/public_html/inc/class_parser.php on line 193
Find the attached below, this should work.
Hmm, when i put in a link to a youtube video, i see the video once i posted it and when i go back to see it, it's only this [video=youtube]VIDEOLINK[/video] again.
Then I would say that its templates.. Did your showthread or postbit templates default ?
Ok i know what it was now, i installed a pre-parse plugin that affected the showthread template and it didn't allow videos to be shown, so it could speed it up by not showing them, thanks for helping