Search found 66 matches

by Martian
Sun Feb 04, 2018 8:04 am
Forum: Support
Topic: Flash videos stopped working in 16.12
Replies: 9
Views: 29207

Re: Flash videos stopped working in 16.12

Sergey Tkachenko wrote: Thu Feb 01, 2018 5:03 pm You need to find third-party component displaying videos, and insert it in our editor.
Can you suggest any? Cannot find any component/demo on how to display HTML5 stream video in Delphi (not using TWebBrowser) :(
by Martian
Wed Jan 31, 2018 7:33 am
Forum: Support
Topic: Flash videos stopped working in 16.12
Replies: 9
Views: 29207

Re: Flash videos stopped working in 16.12

Maybe because YouTube doesn't use flash anymore?
And as I can see there is no ActiveX flash component available for Windows 10 but Delphi app can see registered class.
If yes how can we embed HTML5 videos?
by Martian
Wed Jan 31, 2018 7:20 am
Forum: Support
Topic: Flash videos stopped working in 16.12
Replies: 9
Views: 29207

Re: Flash videos stopped working in 16.12

Still no YouTube (just black box) in RVE 17.1.1 even in your simple YouTube demo downloaded years ago:
youtube.zip
(2.93 KiB) Downloaded 1395 times
No flash video even from other sources like vimeo or hulu. I can see only garbage like random copies of parts of the interface of my program instead of the video but can hear sound.
by Martian
Wed Feb 15, 2017 3:28 am
Forum: Announcements
Topic: TRichView 16.13 - text fields, image deactivation, etc.
Replies: 7
Views: 41703

RVData.ItemLength does not exists anymore

RVData.ItemLength is not working anymore. This is from your count words example: function GetCharCount(RVData: TCustomRVData): Integer; var i,r,c:Integer; table:TRVTableItemInfo; begin Result:=0; for i:=0 to RVData.Items.Count-1 do if RVData.GetItemStyle(i)>=0 then // this is a text item Inc(Result,...
by Martian
Wed Feb 01, 2017 11:35 pm
Forum: Support
Topic: Flash videos stopped working in 16.12
Replies: 9
Views: 29207

Re: Flash videos stopped working in 16.12

Still no idea what can interfere with flash and RVE :?
by Martian
Tue Jan 17, 2017 9:35 pm
Forum: Support
Topic: Flash videos stopped working in 16.12
Replies: 9
Views: 29207

It's TRichViewEdit First of all it was http s :// But it's still doesn't work. Inserts black box with no controls but if I click on it I can hear sound from youtube video but no video. Moving cursor across my app window shows some parts of my toolbars and menus inside that black youtube box. Nothing...
by Martian
Sat Jan 14, 2017 2:34 am
Forum: Support
Topic: Flash videos stopped working in 16.12
Replies: 9
Views: 29207

Flash videos stopped working in 16.12

Youtube and other flash videos inserted to document stopped working.
It shows some parts of my app interface instead. Looks like memory corruption or bad pointers.
I didn't change my code just updated.
by Martian
Wed Dec 28, 2016 8:53 am
Forum: Support
Topic: Spoilers
Replies: 1
Views: 10198

Spoilers

Is there an example on how to implement spoilers?
I know there is a way to hide a text but I want to implement is as a spoiler.
I mean select text, press a button to hide it leaving [+]------ button (or picture) to show that spoiler.
by Martian
Wed Dec 28, 2016 12:05 am
Forum: Support
Topic: From "examples and demos": d&d of images
Replies: 18
Views: 50020

Looks like I found the problem.
I didn't handle OnDropFile but OnDropFiles for even one file.
Now I just put DoDefault:=False in OnDropFile and everything else processed via OnDropFiles.
by Martian
Mon Dec 26, 2016 8:27 pm
Forum: Support
Topic: From "examples and demos": d&d of images
Replies: 18
Views: 50020

I found why image from Firefox appears and then downloads. When I drag a picture from Firefox I get OnDropFile(s) event with FileName = "\Temp\randomname.bmp" I detect it and run LoadPictureFile procedure: procedure LoadPictureFile(FileName:String); const StoreFileName = True; var pic :TPi...
by Martian
Mon Dec 26, 2016 7:39 pm
Forum: Support
Topic: From "examples and demos": d&d of images
Replies: 18
Views: 50020

Just checked everything carefully. I was confused why RichViewActionTest inserts image from Firefox without downloading (no interfaces even assigned) and tried with Chrome and Edge: Firefox sends local file as \Temp\picture.bmp Chrome sends just link Edge like everything from Microsoft works strange...
by Martian
Mon Dec 26, 2016 7:55 am
Forum: Support
Topic: From "examples and demos": d&d of images
Replies: 18
Views: 50020

Ok, works now but looks like RichViewActionTest doesn't redownloads dragged image. Do you have a demo how? Even rvoAssignImageFileNames is not enabled there. Do I still need to download that image? Because right now it inserts image (as I can see) then changes it to a placeholder image and then my a...
by Martian
Fri Dec 23, 2016 2:36 am
Forum: Support
Topic: From "examples and demos": d&d of images
Replies: 18
Views: 50020

Any help?
by Martian
Thu Dec 22, 2016 8:39 am
Forum: Support
Topic: GoToBookmark by it's name
Replies: 1
Views: 9425

GoToBookmark by it's name

What is the easiest way implement GoToBookmark(Target: String) ? I mean if I have an URL like "http://www.web.com#anchor4" I would like to use GoToBookmark("anchor4"). Your sample assigns ItemNo when enumerating list of all bookmarks but if I don't want to show a list? I mean loc...
by Martian
Thu Dec 22, 2016 7:46 am
Forum: Support
Topic: Enum bookmarks manually
Replies: 2
Views: 11680

Works fine. I didn't assign RVStyle to RVE.