|
|
 Rank: Devotee
Joined: 9/8/2006 Posts: 88 Location: Northern California
|
This is strange. I have a bunch of pages I had posted that have YouTube video links posted that worked great. Not sure if they were there on v2, but now with V3.01 I've gone in an edited a couple of pages, but as soon as I save the page the link disapear. What gives?
Sincerely,
Jose
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 492 Location: Göteborg, Sweden
|
Is it a link as in clickable text or is it actually an embedded YouTube video? If it is embedded in your page I guess it's just TinyMCE cleaning up "bad tags". I don't remember right now where you change what's bad and not, but it's somewhere in a *.config file. You could also do a little macro that insert the YouTube code, then TinyMCE will leave it alone... // ; ) Kalle
" - Yeah I'd like to share your point of view, as long as it's my view too... ( http://www.d-a-d.dk/lyrics/pointofview)
|
|
 Rank: Devotee
Joined: 9/8/2006 Posts: 88 Location: Northern California
|
It's HTML code I get from YouTube to place the video on the page. Here's the code. Code:<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/JxhShnqIFBI"></param><embed src="http://www.youtube.com/v/JxhShnqIFBI" type="application/x-shockwave-flash" width="425" height="350"></embed></object> Thank you. Jose
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,698 Location: KY, USA
|
I agree with Kalle, it is probably TinyMCE being a bit too clever. You can try to dumb down TinyMCE by modifying the .config file (see these forum threads for more details on that, as well as the Moxie site) http://forum.umbraco.org/15559http://forum.umbraco.org/17906TinyMCE Docs/WikiOr, as Kalle recommended, create a macro that takes a string parameter. That string would be your YouTube-supplied html. The macro's xslt would simply return that string. But since TinyMCE won't interfere with the macro's output, you'll get out exactly what you put in. Not elegant, perhaps, but sure to work. cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
|
 Rank: Devotee
Joined: 9/8/2006 Posts: 88 Location: Northern California
|
Well, I've tried unsuccessfully to add the Object or Param file types to the valid markup.
I've tried creating a Macro, but it crashes Umbraco when I do it. Any hints on the proper type of macro this is supposed to be?
Thank you.
Jose
|
|
 Rank: Devotee
Joined: 9/8/2006 Posts: 88 Location: Northern California
|
Sorry, I got distracted and posted a not so complete picture of what is going on.
Creating the Macro is fine. When I place the macro in the content page and enter the URL string and then save the page, it then crashes.
Soon after I place the macro a line appears saying, "No macro content available for WYSIWYG editing."
If I preview I don't see the YouTube video, then if I click save it crashes.
Sorry for the vaugeness before.
Jose
|
|
 Rank: Devotee
Joined: 9/8/2006 Posts: 88 Location: Northern California
|
OK. Found the answer! And I actually got it to work!!! http://forum.umbraco.org/15797
|
|
|
Guest |