开发者

Drupal, Lightbox: lightvideo adds "content/" at the beginning of Drupal paths

开发者 https://www.devze.com 2023-01-02 11:08 出处:网络
I\'m using lightvideo in lightbox2 to load my own video player. I\'ve just realized that lightbox is ad开发者_JS百科ding \"content/\" at the beginning of the video player path causing a \"file not fo

I'm using lightvideo in lightbox2 to load my own video player.

I've just realized that lightbox is ad开发者_JS百科ding "content/" at the beginning of the video player path causing a "file not found" error.

In the drupal settings the correct path is set, so I'm wondering how to fix this and how to remove the initial "content/" path.

Update. In html code, the element has the correct src path without "content/" but in Firebug I can see the wrong path and the video is not retrieved...

Thanks


I fixed by adding "../" to the url, but it is a bit weird.

href.replace("videoPlayer/","../videoPlayer/")
0

精彩评论

暂无评论...
验证码 换一张
取 消