Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Youtube embed problems in News

Asked Modified Viewed 4,355 times
C
Chris413
C
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

I am trying to embed youtube video onto my news section, but it wont show the video just the code.

<object width="660" height="405"><param name="movie" value="http://www.youtube.com/v/DLYdoodBh5w&hl=en_GB&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&hd=1&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/DLYdoodBh5w&hl=en_GB&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&hd=1&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="405"></embed></object>

Can anyone tell me why I might not be working correctly please.
Edited by N/A on 25-08-2014 06:23,
0 replies

2 posts

C
Chris413
C
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Thank you m8, you are an absolute star.... :D :)
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

It should work if you embed the code with tinymce disabled.

I don't know if you know this already, but the TinyMCE Editor has a Media plug-in.

The Media plug-in allows you to embed Flash, Quicktime, Shockwave, Windows Media Player , and Real Media video files.

The Media plug-in is disabled by default but if you want to enable it here is how.

open
themes/templates/admin_header_mce.php

Look for...

plugins:'table,advhr,advimage,advlink,insertdatetime,searchreplace,contextmenu,ibrowser,fullscreen,pagebreak',


Replace with this...

plugins:'table,advhr,advimage,advlink,insertdatetime,searchreplace,contextmenu,ibrowser,fullscreen,pagebreak,media',


Then look for...

theme_advanced_buttons2_add:'separator,insertdate,inserttime,separator,forecolor,backcolor,separator,fullscreen',


Replace with this...

theme_advanced_buttons2_add:'separator,insertdate,inserttime,separator,forecolor,backcolor,separator,fullscreen,media',


Save

Now go to News, Articles or Custom Pages look at the Tiny MCE Editor and at the right on the tabs there will be a Film Strip icon.
www.fangree.co.uk/images/media2.PNG

Here is an image of the Media Plug-in TinyMCE Interface.

www.fangree.co.uk/images/media.PNG
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
C
C
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet