55143681 Posted May 13, 2019 Share Posted May 13, 2019 I can play webm in pc,but can not in my iphone, what type media type does unimVideo support? Link to comment Share on other sites More sharing options...
Sherzod Posted May 13, 2019 Share Posted May 13, 2019 3 hours ago, 55143681 said: what type media type does unimVideo support? UnimVideo provides a simple Container for HTML5 Video. In HTML5, there are 3 supported video formats: MP4, WebM, and Ogg. https://www.w3schools.com/html/html5_video.asp Link to comment Share on other sites More sharing options...
55143681 Posted May 15, 2019 Author Share Posted May 15, 2019 On 5/14/2019 at 3:33 AM, Sherzod said: UnimVideo provides a simple Container for HTML5 Video. In HTML5, there are 3 supported video formats: MP4, WebM, and Ogg. https://www.w3schools.com/html/html5_video.asp Thank you shezrod I find a property named autoResume,but i do not find out the effect,how to use that? I have a button to call the play function ,but when i click it unim video does not play,I have to click the cover to play,why? Link to comment Share on other sites More sharing options...
Sherzod Posted May 15, 2019 Share Posted May 15, 2019 1 minute ago, 55143681 said: I find a property named autoResume,but i do not find out the effect,how to use that? I have a button to call the play function ,but when i click it unim video does not play,I have to click the cover to play,why? Can you please make a simple testcase for this, for reproduce? Link to comment Share on other sites More sharing options...
likemike Posted May 1, 2021 Share Posted May 1, 2021 Hello! I have the same issue. The video isn't shown before clicking on the background (sound starts immediately but no video). Is there any solution? I've searched the forum, but there is only another topic with the same problem but without solution here : Thanks in advance Mike Link to comment Share on other sites More sharing options...
Serg Posted May 1, 2021 Share Posted May 1, 2021 Hi! I use HTML. Link to comment Share on other sites More sharing options...
likemike Posted May 1, 2021 Share Posted May 1, 2021 Yes, that's on option, but the UnimVideo component isn't bad except that it won't start automatically. This couldn't be a hard job to let the video start automatically when no poster is set. Link to comment Share on other sites More sharing options...
likemike Posted November 20, 2022 Share Posted November 20, 2022 Hello! Finally I find the solution in this forum: procedure TMainmForm.UnimVideo1Ended(Sender: TObject); begin UniSession.AddJS('var me=' + TUnimVideo(Sender).JSName + '; if (!me.isInlineVideo){me.media.hide();me.ghost.show()}'); end; procedure TMainmForm.UnimVideo1Play(Sender: TObject); begin UniSession.AddJS('var me=' + TUnimVideo(Sender).JSName + '; if (!me.isInlineVideo){me.ghost.hide();me.media.show()}'); end; (copied from Sherzod) Link to comment Share on other sites More sharing options...
Recommended Posts