Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

External Content - youtube
purkleturkle
#1 Posted : Wednesday, 1 February 2012 9:25:32 AM(UTC)
Rank: Member

Joined: 23/01/2012(UTC)
Posts: 4

When I try and use this embeded code

<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/Z3ndzW5EnRc?version=3&amp;hl=en_GB"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Z3ndzW5EnRc?version=3&amp;hl=en_GB" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

from youtube I get this error...

Quote:
The HTML you entered contains text that is not allowed under the current security settings. If you are an administrator, they can be enabled on the User Settings page in the Site Admin area. Invalid HTML tags: object, param, embed; Invalid HTML attributes: width, height, value, type, allowscriptaccess, allowfullscreen; Invalid javascript detected: No


what do I need to do to allow external content on v2.6.0?

  • Running on
    Server 2008 R2 IIS7.5
    MSSQL
    Trust level: Full
    .NET Framework version: 4.0
    IIS app pool identity: IIS APPPOOL\gallery
    FFmpeg.exe found? Yes
    ImageMagick found? Yes

web.config line 17 =
<pages theme="" styleSheetTheme="" validateRequest="false" viewStateEncryptionMode="Always" />
Roger Martin
#2 Posted : Wednesday, 1 February 2012 9:28:36 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Have you tried the suggestion in the error message?
Roger Martin
Creator and Lead Developer of Gallery Server Pro
purkleturkle
#3 Posted : Wednesday, 1 February 2012 9:31:53 AM(UTC)
Rank: Member

Joined: 23/01/2012(UTC)
Posts: 4

Quote:
Allow users to enter HTML in titles, captions, and external media objects
is enabled

and I have tried adding to

Allowed HTML tags:
Allowed HTML attributes:

width, height, value, type, allowscriptaccess, allowfullscreen into the attributes?
purkleturkle
#4 Posted : Wednesday, 1 February 2012 9:38:47 AM(UTC)
Rank: Member

Joined: 23/01/2012(UTC)
Posts: 4

added these and I see to be okay now.

object, param, embed
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.