<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to WebVisu - IFrame with audio in WebBrowser control freezes other visu elements</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/08714e5f1d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/08714e5f1d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/08714e5f1d/</id><updated>2020-04-16T05:40:07.467000Z</updated><subtitle>Recent posts to WebVisu - IFrame with audio in WebBrowser control freezes other visu elements</subtitle><entry><title>WebVisu - IFrame with audio in WebBrowser control freezes other visu elements</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/08714e5f1d/?limit=25#cdab" rel="alternate"/><published>2020-04-16T05:40:07.467000Z</published><updated>2020-04-16T05:40:07.467000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.comb6f061d6aff264e1213d439f0ebb91c85dbf7ab7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;m.prestel, eschwellinger  - thanks, I will try with it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>WebVisu - IFrame with audio in WebBrowser control freezes other visu elements</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/08714e5f1d/?limit=25#231c" rel="alternate"/><published>2020-04-14T06:29:59.837000Z</published><updated>2020-04-14T06:29:59.837000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com10a33c1fe4acbb5570b4c1967280b8cdf3274a2e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;an easy approach for playing sound on wenvisu is here:&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25&amp;amp;page=1#75e1"&gt;https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25&amp;amp;page=1#75e1&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>WebVisu - IFrame with audio in WebBrowser control freezes other visu elements</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/08714e5f1d/?limit=25#3a35" rel="alternate"/><published>2020-04-14T06:12:23.716000Z</published><updated>2020-04-14T06:12:23.716000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com23fcf07dce304d01ebfdf389ce7875033eecb2d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello &lt;a class="user-mention" href="/u/kislov/"&gt;@kislov&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I think you are running into the changes described e.g. here &lt;a href="https://developers.google.com/web/updates/2017/09/autoplay-policy-changes" rel="nofollow"&gt;https://developers.google.com/web/updates/2017/09/autoplay-policy-changes&lt;/a&gt;&lt;br/&gt;
There is a distinct difference between the IDE Visualization and the webvisu.&lt;/p&gt;
&lt;p&gt;In the IDE a browser will be started to replace the browser element, in the webvisu a iframe will be spawned to reference the website.&lt;/p&gt;
&lt;p&gt;I was not able to reproduce these freezes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>WebVisu - IFrame with audio in WebBrowser control freezes other visu elements</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/08714e5f1d/?limit=25#6c50" rel="alternate"/><published>2020-04-10T09:41:54.137000Z</published><updated>2020-04-10T09:41:54.137000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.com03fc20434015465f4eac1490aa2853df9ff8a866</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;br/&gt;
I try to play audio in Web-visu through WebBrowser Control element.&lt;/p&gt;
&lt;p&gt;I use CODESYS Control Win V3, 3.5.14.30.&lt;/p&gt;
&lt;p&gt;I prepared 2 audio-files (1.mp3 &amp;amp; silence.mp3) and 2 .htm pages (audio.htm and blank.htm).&lt;br/&gt;
Audio.htm call both .mp3 (it's solution for autoplay from this article: &lt;a href="https://stackoverflow.com/questions/50490304/how-to-make-audio-autoplay-on-chrome/52228983#52228983" rel="nofollow"&gt;https://stackoverflow.com/questions/50490304/how-to-make-audio-autoplay-on-chrome/52228983#52228983&lt;/a&gt;), blank.htm just empty page for disable audio playing.&lt;/p&gt;
&lt;p&gt;I copy my .mp3 and .htm to /visu folder of soft plc.&lt;/p&gt;
&lt;p&gt;I create simple CODESYS project with WebBrowser Control and 2 buttons: Start Audio (show &lt;a href="http://localhost:8080/audio.htm" rel="nofollow"&gt;http://localhost:8080/audio.htm&lt;/a&gt;) and Stop Audio (http://localhost:8080/blank.htm)&lt;/p&gt;
&lt;p&gt;In service visu (CODESYS IDE visu) all works fine.&lt;/p&gt;
&lt;p&gt;But in web-visu after start audio playing there is no more reactions from other visu elements (button, CDS logo animation).&lt;/p&gt;
&lt;p&gt;I attach all my files (.projectarchive, .htm; instead my 1.mp3 you can use any .mp3 file) and video with problem demonstation.&lt;/p&gt;
&lt;p&gt;I will be grateful for any advices. Maybe I need other solution or other approach with my audio.htm...&lt;/p&gt;
&lt;p&gt;Link to my projectachive: &lt;a href="https://dropmefiles.com/QWNd2" rel="nofollow"&gt;https://dropmefiles.com/QWNd2&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>