This is an automated email from the ASF dual-hosted git repository.
juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git
The following commit(s) were added to refs/heads/master by this push:
new 4b2323ce6 Update Viewer.js
4b2323ce6 is described below
commit 4b2323ce6388f3c1ec0a1c7a136ac0b09f350895
Author: udittmer <[email protected]>
AuthorDate: Wed Nov 22 17:02:05 2023 +0100
Update Viewer.js
The Flash-based Vimeo player is obsolete, and HTML 5 works fine.
---
jspwiki-war/src/main/scripts/behaviors/Viewer.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/jspwiki-war/src/main/scripts/behaviors/Viewer.js
b/jspwiki-war/src/main/scripts/behaviors/Viewer.js
index 6d534cf0c..1e538a11d 100644
--- a/jspwiki-war/src/main/scripts/behaviors/Viewer.js
+++ b/jspwiki-war/src/main/scripts/behaviors/Viewer.js
@@ -299,9 +299,7 @@ Viewer.LIB.append([
["https?://vimeo.com/", function(url){
return {
- //html5 compatible --- use iframe
- //src: "http://player.vimeo.com/video/" + url.split("/")[3],
- url:
protocol+"www.vimeo.com/moogaloop.swf?server=www.vimeo.com&clip_id=" +
url.split("/")[3],
+ src: protocol+"player.vimeo.com/video/" + url.split("/")[3],
width: 640,
height: 360
};