| Author |
Topic Search Topic Options
|
nulimitz
Newbie
Joined: 10 August 2006
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Topic: Embedding objects Posted: 21 August 2006 at 4:19pm |
I have been trying to figure out hot to embed objects within the RTE. If you embed a video from youtube, the RTE sees the http:// and adds <a href="the link" it also adds, extra characters etc. Is there a way to modify one of the RTE files to see <object></object> and not modify the text so it displayed properly when posted ? Also, when you add the object in htmlview it does not display properly.
Any ideas would be appreciated.
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/5VZ-vVVLUj0"></param><embed src="http://www.youtube.com/v/5VZ-vVVLUj0" type="application/x-shockwave-flash" width="425" height="350"></embed></object> |
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 August 2006 at 5:10pm |
|
It should work but depends on what browser you use as the Web Wiz RTE uses the browsers own built in RTE API.
These work differently with the verious browsers and all have their own quirks and bugs, but Firefox's Midas RTE API seems to be the best at handling this type of code.
Opera have just included an RTE API in it's browser which I am working on a release of the Web Wiz RTE that will also support Opera, this may also be better at coding than IE, but at the moment it's API seems to be the most buggy of the lot.
|
|
|
 |
nulimitz
Newbie
Joined: 10 August 2006
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 August 2006 at 7:14pm |
|
So it's a limitation of the browsers API, that causes it to format the text incorrectly. I would then have to require all members of the site who want to post their video, to switch to Firefox or Opera. There has to be a easier way that doesn't limit the users. Can I modify or remove the RTE from the forum, and add one that does not strip or remove any of the code as long as I leave the copyright info intact ?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 August 2006 at 10:42pm |
|
You mention forum. Are you referring to Web Wiz Forums and the RTE used in that?
If so you have posted in the wrong forum as this forum is for the standalone RTE not the one that comes in Web Wiz Forums.
In Web Wiz Forums you can enable Flash support from the admin area, under 'forum configuration' you can then use forum BB codes to link to your Flash files in posts.
|
|
|
 |
nulimitz
Newbie
Joined: 10 August 2006
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 August 2006 at 11:57pm |
|
I apologize borg. I thought that it was solely an RTE issues and was not actually related to the forum so I posted it in here to see if there was a fix. I will check in the wwf forum also and will also try enabling flash in posts and see if this fixes the embed object.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 22 August 2006 at 8:07am |
|
That's OK, a standalone version of the RTE was also made as the RTE is used in other software from Web Wiz Guide and it was thought that others may want to use the RTE in their own projects as there was over 8 months of full-time development work went into the RTE.
|
|
|
 |
waynelambright
Newbie
Joined: 16 December 2006
Status: Offline
Points: 4
|
Post Options
Thanks(0)
Quote Reply
Posted: 19 December 2006 at 3:03am |
|
Is there a way to allow the object tag in the WWF ? i have flash enabled.
thanks
wayne
|
 |
jon_gs
Newbie
Joined: 02 December 2008
Status: Offline
Points: 8
|
Post Options
Thanks(0)
Quote Reply
Posted: 05 March 2009 at 3:24pm |
|
Same question. Is there anyway to embed a flash <object>in WWF (v. 9.06)?
Have enabled flash in admin area and modified header.asp file to include appropriate <script>.
Thanks,
Jon - GS
Edited by jon_gs - 05 March 2009 at 3:28pm
|
 |