[Demo] How to insert YouTube video in the editor

Demos, code samples. Only questions related to the existing topics are allowed here.
Martian
Posts: 79
Joined: Sun Apr 03, 2011 7:32 pm

Post by Martian » Sun Nov 25, 2012 4:12 am

Is there a way to insert flash videos from other sources like Vimeo, RuTube, Flickr ?

Martian
Posts: 79
Joined: Sun Apr 03, 2011 7:32 pm

Post by Martian » Mon Nov 26, 2012 7:55 am

Forget it. I found how to insert about 15 video services myself.

But some still not work. Shows 'video not loaded' but if I copy these swf links into browser - it works fine.
For example:

http://www.funnyordie.com/embed/a460d52dbf

http://d.yimg.com/nl/vyc/site/player.ht ... selUI=hide

If you paste these links to the browser - you'll get full windows SWF player but it doesn't work inside TRichViewEdit :(

Martian
Posts: 79
Joined: Sun Apr 03, 2011 7:32 pm

Post by Martian » Fri Apr 29, 2016 8:50 am

Will this flash video work in 64-bit application?
I think no because it throws access violation error.
So how can I prevent loading SWF videos in 64-bit app to prevent errors?
I need to detect flash video in RVF and replace it with something like 'unsupported'.

Sergey Tkachenko
Site Admin
Posts: 13203
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Fri Apr 29, 2016 2:45 pm

You can process OnControlAction event, ControlAction = rvcaAfterRVFLoad.
Replace flash to TPanel with "unsupported" text.

Martian
Posts: 79
Joined: Sun Apr 03, 2011 7:32 pm

Post by Martian » Fri Apr 29, 2016 11:08 pm

Do you have a demo how to "Replace flash to TPanel with "unsupported" text"

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests