Jump to content

Why you don't insert the YouTube(Google)Video and FLASH?


Guest WoLeRiNe`

Recommended Posts

Posted

I'm confused as to who you're attacking here... those willing to install security risks on their forum just for the sake of having mods (which don't represent all mod users, some are very careful which mods they install)? Or those who wont install a modification because they're pretty sure it poses a risk?


The former, of course.
Posted

Here is a quick Custom BBCode for YouTube.



Now I am sure there is an easier way, but oh well.



Custom example: [youtube]_isVdeRwnus[/youtube]



Custom tag: [youtube]



Option? No



Custom BBCode Replacement:


<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{content}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{content}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>


------------

Here is a YouTube video link:
http://youtube.com/watch?v=_isVdeRwnus
You would just have to have them put in whatever was after:

http://youtube.com/watch?v=

Which in this case is:
_isVdeRwnus



Thanks for the tip dude :thumbsup: Is something like that also possible with dailymotion and google vids ?
Posted

Thanks for the tip dude :thumbsup: Is something like that also possible with dailymotion and google vids ?



I use this one my board

<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="{content}"> </embed>

but you need to take the full adress if you wanna do it only with the video code you could do



didnt try it but it should work the -is part of the code of the video as well

http://video.google.com/videoplay?docid=-2307135223378952178
Posted

Thanks dude but it's not working :( I put your code like that in ACP :

Custom BBCode Title DailyMotion

Custom BBCode Description Put your Dailymotion Video

Custom BBCode Example [dailymotion]video adress[/dailymotion]

Custom BBCode Tag [dailymotion]

Use Option in tag? NO

Custom BBCode Replacement <embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="{content}"> </embed>

After that when I try to put a dailymotion vid in a post it just put a white square. For example :

[dailymotion]http://www.dailymotion.com/ShinJin/video/xjmse_24-teaser-saison6-vostfr[/dailymotion]

Can you tell me what's wrong ?

Posted

It's not going to happen. It would open up many potential CRSF / XSS attacks.



And there's abolsutely no way around this?


Maybe if you could make it so that only code from certain domains were allowed...or? :unsure:

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...