11
Quote:
noo-b wrote:
I have uploaded a category image and video ...in the Image and Video Upload Tab
Now .How do i add my own video ? and the screenshot of the video ?
last time in mytube there is option to select the uploaded video and category image
http://s28.postimg.org/3l83moxh9/Untitled.jpg
my temporary solution to add my own flv video
1. add the name of the flv video in Video id-code field
2. add the screenshot image name in phpmyadmin manually
3. my flv video does not come out
4. in include/video.php
i disable this line by putting the comment tag
// $showvideo
// = '
// <script type="text/javascript" src="' . XOOPS_URL . '/modules/' . $xoopsModule->getvar('dirname') . '/flvplayer/flowplayer/flowplayer.min.js"></script>
// <a href="' . XOOPS_URL . '/' . $xoopsModule->getvar('dirname') . '/' . $vidid . '" style="display: block; width: 520px; height: 330px;" id="player"></a>
// <script>
// flowplayer("player", "' . XOOPS_URL . '/modules/' . $xoopsModule->getvar('dirname') . '/flvplayer/flowplayer/flowplayer.swf", {
// clip: {
// autoPlay: ' . $autoplay3 . ',
// autoBuffering: true
// }
// }
// );
// </script>
// ';
and i enable the mediaplayer.swf by removing the comment symbol
$showvideo = '<embed src="' . XOOPS_URL . '/modules/' . $xoopsModule->getvar('dirname'). '/include/mediaplayer.swf" width="425" height="350" allowScriptAccess="always" allowFullScreen="true" flashvars="width=425&height=350&file='
. XOOPS_URL . '/' . $xoopsModuleConfig['videodir'] . '/' . $vidid . '&image=' . XOOPS_URL . '/'
. $xoopsModuleConfig['videoimgdir'] . '/' . $screenshot . '&autostart=' . $autoplay3 . '"></embed>';
6. My video now displayed correctly in xoopstube 1.06