Issue with Google Slide Embed


#21

I’ve come up with a workaround that may help some people. The issue with the box appears due to the IE11 cache. I fixed the issue by moving the cache folder and deleting the contents of the folder before Xibo starts

  1. Create a new folder (i used “iecache” and left it on the desktop)
  2. Open IE11 as admin and move the cache folder to that location (requires restart)
  3. Create a batch file that removes the directory (rmdir) and re-creates it (mkdir). This is needed as the folder has to be empty
  4. Run batch file before starting Xibo

One thing I noticed is that if the folder has to be empty if the Google Sheet reloads automatically or changes, so I wrote a scheduled task to run the batch file every 10 minutes. I’m not sure how this affects other layouts as I use this on clients that just show Slides, but it has been working like a charm. Users can update the slide on their own and it will show up in the client

Hope this helps


#22

I created a fix!! simply add this to the Navigate event for the webBrowser and the flash object will be hidden from view:

webBrowser1.Document.DomDocument.createStyleSheet("PRESENTATION_EMBED_URL_HERE", 0).cssText = "embed{display:none!important;}"

#23

Thank you to everyone who has had input on this issue.

Injecting a stylesheet into the document to hide any embed tags is an interesting workaround - I am sure we can do that. However we obviously need to do that only for when we are embedding a webpage with a google slides presentation as the URL.

Is there a convention for those URL’s that we could detect?


#24

As an update regarding this issue, a bug report has been created and the Development team will look into this further. Below is a link to the Issue Report:

Many Thanks.


#25

As far as I can tell, all my Slides presentations use the following URL prefix: https://docs.google.com/presentation


#26

I started running into this a while back and ended up disabling flash via policy on IE and the box was no longer able to come up. Since our layouts almost all rely on this we needed to come up with a fix. I haven’t seen any side effects from this as of yet.


#27

Can you elaborate with this fix? We are having the same problem, but when I attempted to run your fix (which I thought I did correctly) it causes the scaling of the slide show to become messed up.

For now we have reverted back to showing that grey square. Like so many others here, we are relying on Google Slides for many of our layouts due to simplicity - we use them at all our schools and school staff update slides as announcements.