Show Vimeo video from text link #31
-
I'm trying to show a vimeo video after clicking a text link. I have the latest version of your plugin.
My JS code:
Everything is working visually however in the console there is a 404 error upon clicking the link. Does anyone know what could be the issue? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the library is trying to load a thumbnail ( The thumbnail is used as a placeholder before the media fully loads. Ideally this is something already loaded on the page so that it can be displayed instantly. See the demo site for reference. If you're fine with the black background then you don't need to add one. This is probably something I can add a check for at some point to avoid the network request. |
Beta Was this translation helpful? Give feedback.
I think the library is trying to load a thumbnail (
data-thumb
) but no thumbnail is defined.The thumbnail is used as a placeholder before the media fully loads. Ideally this is something already loaded on the page so that it can be displayed instantly. See the demo site for reference. If you're fine with the black background then you don't need to add one.
This is probably something I can add a check for at some point to avoid the network request.