Start a new topic

How to display Animated GIF?

How to display Animated GIF?

1 person has this problem

i already uploaded the JS file which is responsible to run the gif through HTMLDrawable method.

If you want to reproduce the issue then use the following snippet

 

 this.arModelObjects[i] = new AR.HtmlDrawable({ uri: "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"
                                                               }, 0.25, {
                                                                   viewportWidth: 320,
                                                                   viewportHeight: 100,
                                                                   backgroundColor: "#FFFFFF",
                                                                   translate: {
                                                                       x:0.36,
                                                                       y: 0.5
                                                                   },
                    scale: arCharacter['ScaleFactor'],
                    clickThroughEnabled: false,
                    horizontalAnchor: AR.CONST.HORIZONTAL_ANCHOR.CENTER,
                    verticalAnchor: AR.CONST.VERTICAL_ANCHOR.MIDDLE,
                    allowDocumentLocationChanges: false
                })

 

Run the same code with the latest version of Chrome. You can see the issue.


 

Thx. With this file we can test - the previous JS File had a lot of references to your project, so we wouldn't have been able to investigate.


We will now create an internal investigation task in our backlog and will notify you once we have any feedback or the core development team needs more details.


Thx and greetings

Nicola 

It seems that you raised a bug report here - https://bugs.chromium.org/p/chromium/issues/detail?id=849565. Can you please retest once the mentioned M69 is available and let us know if this fixes your issue? We would then stop the investigation on our end, as it seems to be a Chromium bug.


tThx and greetings

Nicol


Thanks, Nicola for the reply fastly.

I can't modify Webview code for the HTMLDrawable method. It supposes to be done from your end.

Please check the link: Chrome Google Blog for more detail about the issue.


Hi Nicola,
You test the application by downloading from PlayStore:
URLs:
https://drive.google.com/open?id=148e-u7lEhk0WEu1-L8avw-kViGWAey0U
Steps to reproduce: 1. Go to Uncover, scan the attached image and find the bug. 2. Check gif is not running with Chrome ver >= 66.0.1 3. It was working fine with an older version of Chrome. Note: I used Wikitude lib to run gif with use of HTML page with the help of webview. Expected result: GIF should run. Actual result: GIF loaded but it is not running.
png
(759 KB)

Hi,


Thx mentioned method in the bug report is not used by our SDK. I rechecked internally and as this will be fixed in Chrome version 69, we'll need to wait until the fix is included in Chrome.


Thx and greetings

Nicola

Login or Signup to post a comment