Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Youtube/Google/Soapbox Video Plugin
This discussion has been closed.
Comments
@tthmaz: you need to enable videos in the extension by changing the definition. Open up the file and you'll see what i mean.
For those who are still looking, you have to get html formatter 1.7, edit line 26:
define('HTML_VIDEO_TAG', 0);
to
define('HTML_VIDEO_TAG', 1);
works like a charm. This is the first youtube video in my forum. Am I excited... Cheers!
The player pops up but no video. The other video i have posted, without a - in the beginning, works with no problems.
I have removed the -, no workie. What gives?
One person kadams54 on the forum made a single column one and looks great. perhaps u can check his code.
for add the DailyMotion support (the french YouTube but also available with the english interface ),
in the <div id="flashVideos"> located in the video_dialog.html file :
ADD THIS <span><input id="selectDailyMotion" onclick="ShowE('dailymotionInfo', this.checked); HideE('youtubeInfo', this.checked); HideE('googleInfo', this.checked); HideE('soapboxInfo', this.checked); UpdatePreview();" type="radio" name="select">DailyMotion Video</span> BEFORE <hr width="100%" size="2" />
and :
ADD THIS <span id="dailymotionInfo" style="display:none">DailyMotion enter something like <strong>6YB5F2y4cyZTg816B</strong></span> BEFORE <span><input id="videoCode" value="Enter correct video id here" onblur="UpdatePreview();" style="WIDTH: 100%" type="text"></span>
then in video.js, add this in the function UpdateEmbed after SoapBox :
if (GetE('selectDailyMotion').checked) { e.src = 'http://www.dailymotion.com/swf/'.concat(GetE('videoCode').value) ; SetAttribute(e, "width" , '425' ) ; SetAttribute(e, "height", '335' ) ; }
and finally, in the same file, add this in the function UpdatePreview after SoapBox also :
if (GetE('selectDailyMotion').checked) { e.src = 'http://www.dailymotion.com/swf/'.concat(GetE('videoCode').value) ; e.width = '425' ; e.height = '335' ; }
open up settings.php in fckeditor extension folder
look for a line that starts with embed and replace it with this one
'embed' => array('id' => 1, 'width' => 1, 'height' => 1, 'src' => 1,'quality' => 1, 'type' => 1, 'wmode' => 1, 'flashvars' => 1, 'name' => 1, 'pluginspage' => 1 ),
Now soapbox will work