[xwiki-users] Video on Wikipage
We want to show video on our wikipage. The only requirement: -The source is located on our server We can't make use of the " http://extensions.xwiki.org/xwiki/bin/view/Extension/Video+Macro Video Macro ", because it only displays video from YouTube, DailyMotion or GoogleVideo We can't make use of the " http://extensions.xwiki.org/xwiki/bin/view/Extension/JWPlayer+Macro JWPlayer Macro ", because we can't attach the video's to the wikipage (our video's are very large in filesiz) Any suggestions for alternatives? -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Found a solution {{html}} <embed src="<Links to file on network>" width=500 height=500> {{/html}} -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580924.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hasmter, you neeeeeed to state your target device requirement for such an intent! If you're ok with just modern browsers, then better use the video element. Even after this, you'd need to make sure that the encoding is decent, it appears that firefox and iOS browsers simply have no common format intersection. Paul Le 17 août 2012 à 09:06, Hamster a écrit :
Found a solution
{{html}} <embed src="<Links to file on network>" width=500 height=500> {{/html}}
-- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580924.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Luckily for us, we are using IE9 at our company...so no need to check for other webbrowsers I would realy wish that the WYSIWYG editor would have an "Insert Video" button, which would allow me to browse to the AVI (or other filetype) on our network. An "Adjust Video Settings" button would allow me to change/fix the width and height, set the "autostart" and "loop" options. I can't let our "simple" users add video at this moment, they just don't have the html knowledge to get this done! -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580935.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Aug 17, 2012, at 3:11 PM, Hamster wrote:
Luckily for us, we are using IE9 at our company...so no need to check for other webbrowsers
I would realy wish that the WYSIWYG editor would have an "Insert Video" button, which would allow me to browse to the AVI (or other filetype) on our network. An "Adjust Video Settings" button would allow me to change/fix the width and height, set the "autostart" and "loop" options.
I can't let our "simple" users add video at this moment, they just don't have the html knowledge to get this done!
Why not create a wiki macro? It would take you a few minutes to write it, see http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial Of course, writing a video browser is more work but at least if your users know the path on your network server, they'll be able to use it easily. Thanks -Vincent
And according to http://www.w3schools.com/html/html_videos.asp W3Schools (love that website): The example below uses 4 different video formats. The HTML 5 <video> element tries to play the video either in mp4, ogg, or webm formats. If this fails, the code "falls back" to try the element. If this also fails, it "falls back" to the element. -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580936.html Sent from the XWiki- Users mailing list archive at Nabble.com.
vmassol, If you show me how I can let people BROWSE to a file on a network with a wikimacro... :-) Not that many people know that SHIFT + RMB on a file shows the option "Copy as path" in Windows Explorer. Then there's another problem that drive-mappings will be throwing mud...UNC-path namens are more secure. Or is there a way to show a "Browse for file" dialog? -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580938.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi! Actually you CAN attach huge files to the XWiki page on turning on filestorage. In this case all attachments would be stored in filesystem and not in the database... :-) Sometimes it helps much :-) Kind regards, Dmitry Thu, 16 Aug 2012 23:53:18 -0700 (PDT) от Hamster <[email protected]>:
We want to show video on our wikipage.
The only requirement:
-The source is located on our server
We can't make use of the "
http://extensions.xwiki.org/xwiki/bin/view/Extension/Video+Macro Video Macro
", because it only displays video from YouTube, DailyMotion or GoogleVideo
We can't make use of the "
http://extensions.xwiki.org/xwiki/bin/view/Extension/JWPlayer+Macro JWPlayer
Macro ", because we can't attach the video's to the wikipage (our video's
are very large in filesiz)
Any suggestions for alternatives?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected] http://lists.xwiki.org/mailman/listinfo/users
Hamster, doesn't the picture insert macro do exactly this? paul Le 17 août 2012 à 15:22, Hamster a écrit :
vmassol,
If you show me how I can let people BROWSE to a file on a network with a wikimacro... :-)
Not that many people know that SHIFT + RMB on a file shows the option "Copy as path" in Windows Explorer. Then there's another problem that drive-mappings will be throwing mud...UNC-path namens are more secure.
Or is there a way to show a "Browse for file" dialog?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580938.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I thought that the Picture Insert Macro attaches the chosen picture to the wikipage (but maybe I am mistaken :-) -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580969.html Sent from the XWiki- Users mailing list archive at Nabble.com.
I thought that the Picture Insert Macro attaches the chosen picture to the wikipage (but maybe I am mistaken :-)
Sure it does. But inserting a video is doing exactly that: - choosing a file - uploading it - adding the necessary markup to display it. So I suppose, you'd "just" modify a copy of the image insertion... Paul
Paul, we don't want to upload/attach our video/movie. The movies we make (sometimes with a highspeed camera) are HUGE, we are talking about hundred's of megabytes. The (only) requirement is that we don't want to upload anything. The movie is located on our server/network, we just want to "point" to that location. I thought that was clear from my OP :-) -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580972.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Thinking about this... - I would like to have a "Image" --> "Extermal Image..." (with a browse for file dialog) - I would like to have a "Link" --> "External File..." (with a browse for file dialog) - I would like to have a "Video" --> "External Video..." (with browse for file dialog) - I would like to have a "Video" --> "Attached Video..." (for all other XWiki users ;-) -- View this message in context: http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580973.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Aug 21, 2012, at 9:27 AM, Hamster wrote:
Thinking about this...
- I would like to have a "Image" --> "Extermal Image..." (with a browse for file dialog) - I would like to have a "Link" --> "External File..." (with a browse for file dialog) - I would like to have a "Video" --> "External Video..." (with browse for file dialog) - I would like to have a "Video" --> "Attached Video..." (for all other XWiki users ;-)
I think this could work as follows: * The admin registers a mounted network drive in the admin page of XWiki and gives it a name (this is a drive mounted on the server machine where XWiki is running) * When in the WYSIWYG editor, when inserting an external image/link/etc, it also lists registered network drive names and when you click on it it opens a home made browser dialog (we would use File.list() to get the list of files - this will work only with a mounted drive - I guess there are some specific network protocols to autodiscover resources for ex with \\UNC but that looks more complex). Thanks -Vincent
participants (4)
-
Dmitry Bakbardin -
Hamster -
Paul Libbrecht -
Vincent Massol