• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How can we post these videos to JForum like these

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This...
http://video.msn.com/video.aspx?mkt=en-US&vid=cfa4f489-e657-48c7-98fe-b28a4d750e10

or this...
<iframe src="http://www.microsoft.com/PressPass/SilverlightApps/videoplayer_3/standalone.aspx?xml=mms://msstudios.wmod.llnwd.net/a2294/o21/presspass/PRIDE60_MBR.wmv&r=embed&id=1&layout=top" width="350px" height="360px" frameborder="0" scrolling="no" ></iframe>


[originally posted on jforum.net by kirk95]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the admin panel, add iframe tag as allowed tag. Though this may result in a security risk.

Adding the iframe tag as allowed would at least make the second example work ^^
[originally posted on jforum.net by Sid]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A slightly safer way would be to add a new BB code that included the iFrame and video. For example, you could enter:

[msn]<url>[/msn]

You can do this by changing your bb_config.xml file to include something like:



Note that this could be used to include content from ANY website in a posting... e.g. faking a post from the admin to enter id/password or other stuff.

Also, you may still have to enable iframes and a generic HTML option for this to work.. not sure when BB code substitution occurs.
[originally posted on jforum.net by monroe]
 
This tiny ad is wafer thin:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic