UCSCLibrary / YouTubeImport

This Omeka plugin adds the ability to import Youtube videos into Omeka as items while preserving as much metadata as possible
8 stars 10 forks source link

No YouTube video after editing (Omeka 3.0.1) #39

Open psmukhopadhyay opened 2 years ago

psmukhopadhyay commented 2 years ago

Lately, I’m observing a peculiar behavior of YouTube plugin (version 1.3 as available from the plugin directory) in Omeka Classic. I’ve changed YouTube API key, and it is working nice in my Omeka instances (One is 2.8 and the other is 3.0.1). The Omeka instance with version 2.8 has absolutely no issues with this plugin, but in Omeka 3.0.1, I can fetch video objects, can run the fetched video until I edit it.

The moment I edit it to add a few additional metadata elements or just even save it in edit window without adding/modifying any element, the video player is vanishing (metadata, thumbnail image etc are there).

There is no such issue with the same plugin version in Omeka 2.x (I checked it with 2.7 and 2.8).

mkstephens commented 1 year ago

We are having the same issue since upgrading to Omeka 3.0.3.

mkstephens commented 1 year ago

I found the fix!

From your administrator login, go to Settings > Security. Scroll down to "HTML Filtering" and uncheck the box next to "Enable HTML Filtering." Another solution might be to add iframe to the list of allowed HTML elements, but I didn't test that.