Quote
team2win wrote:Quote
Daywalker wrote:
First, please respect the Code of Conduct. If you have not yet read it, please take a look. But for time, next time instead of double posting, edit your original post.
As you're posting in the v6 support forums i'll assume you're using v6. So in order to do this do the following:
Open administration/news.php and find:Code Download source<input type='button' value='alt' class='button' style='width:25px' onClick=\"addText('body', '<span class=\'alt\'>', '</span>');\"><br>
Replace with:Code Download source<input type='button' value='alt' class='button' style='width:25px' onClick=\"addText('body', '<span class=\'alt\'>', '</span>');\">
<input type='button' value='Video' class='button' style='width:45px' onclick=\"addText('body', '<object width=\'425\' height=\'350\'><param name=\'movie\' value=\'location of video\'></param><param name=\'wmode\' value=\'transparent\'></param><embed src=\'location of video', '\' type=\'application/x-shockwave-flash\' wmode=\'transparent\' width=\'425\' height=\'350\'></embed></object>');\"><br>
Close, Save, and Upload file to the appropriate folder and you should have now an HTML button that will embed videos from places like Youtube into your News items.
When you click on the button it'll have 2 places called Location of video ... change those to the URL where the video is located.
I loaded up your code, but I didn't notice any other html button or an extra button... where's the button located?
Thanks in advance
Quote
Daywalker wrote:
First, please respect the Code of Conduct. If you have not yet read it, please take a look. But for time, next time instead of double posting, edit your original post.
As you're posting in the v6 support forums i'll assume you're using v6. So in order to do this do the following:
Open administration/news.php and find:Code Download source<input type='button' value='alt' class='button' style='width:25px' onClick=\"addText('body', '<span class=\'alt\'>', '</span>');\"><br>
Replace with:Code Download source<input type='button' value='alt' class='button' style='width:25px' onClick=\"addText('body', '<span class=\'alt\'>', '</span>');\">
<input type='button' value='Video' class='button' style='width:45px' onclick=\"addText('body', '<object width=\'425\' height=\'350\'><param name=\'movie\' value=\'location of video\'></param><param name=\'wmode\' value=\'transparent\'></param><embed src=\'location of video', '\' type=\'application/x-shockwave-flash\' wmode=\'transparent\' width=\'425\' height=\'350\'></embed></object>');\"><br>
Close, Save, and Upload file to the appropriate folder and you should have now an HTML button that will embed videos from places like Youtube into your News items.
When you click on the button it'll have 2 places called Location of video ... change those to the URL where the video is located.
<input type='button' value='alt' class='button' style='width:25px' onClick=\"addText('body', '<span class=\'alt\'>', '</span>');\"><br>
<input type='button' value='alt' class='button' style='width:25px' onClick=\"addText('body', '<span class=\'alt\'>', '</span>');\">
<input type='button' value='Video' class='button' style='width:45px' onclick=\"addText('body', '<object width=\'425\' height=\'350\'><param name=\'movie\' value=\'location of video\'></param><param name=\'wmode\' value=\'transparent\'></param><embed src=\'location of video', '\' type=\'application/x-shockwave-flash\' wmode=\'transparent\' width=\'425\' height=\'350\'></embed></object>');\"><br>
<center><p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=media/bourne & cherita.flv');
s1.write('preview');
</script>
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions