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

Notification

Icon
Error

Options
Go to last post Go to first unread
rogerg1967  
#1 Posted : Friday, February 16, 2018 2:12:33 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 51
United Kingdom
Location: Highworth

Thanks: 3 times
I have NBS_3.6.7 installed

I am trying to embed video on the description as it is a text editor, I can add the code when switched to source view, but it just doesn't save.
Please help



I'm embedding the video from youtube

Edited by user Friday, February 16, 2018 2:19:04 PM(UTC)  | Reason: Not specified

leedavi  
#2 Posted : Friday, February 16, 2018 2:32:51 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 322
United Kingdom
Location: France

Was thanked: 28 time(s) in 28 post(s)
There is a known problem with saving when in source view. Switch back to normal view and then save.
rogerg1967  
#3 Posted : Friday, February 16, 2018 2:36:36 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 51
United Kingdom
Location: Highworth

Thanks: 3 times
Yes I did. I thought of that as well.
so when I switch to normal view it shows that the text is there and the video. However, when I click save, text is still there but video removed
leedavi  
#4 Posted : Friday, February 16, 2018 2:47:39 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 322
United Kingdom
Location: France

Was thanked: 28 time(s) in 28 post(s)
OK. I think this might be the security to strip possible security issues on richtext.

I can't rememebr if this is implemented in NBS or in DNN. Have a look for some setting in NBS>BO>Settings. If not there it might be a DNN setting.
rogerg1967  
#5 Posted : Wednesday, February 21, 2018 5:30:47 PM(UTC)
rogerg1967

Rank: Advanced Member

Groups: Registered
Joined: 11/29/2016(UTC)
Posts: 51
United Kingdom
Location: Highworth

Thanks: 3 times
DNN allows iframes and there isn't anything in the BO settings that would disable embeding videos.

However I did this

<iframe src='@info.GetXmlProperty("genxml/textbox/txttest2")' width="340" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>


so i created a custom field and then in the back office only ad a link to the video


However, I do not see why it would be not allowed to embed videos... In the older version of NBright store I remember embeding them.
leedavi  
#6 Posted : Wednesday, February 21, 2018 5:46:41 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 322
United Kingdom
Location: France

Was thanked: 28 time(s) in 28 post(s)
Sorry, but I can't think of any reason this wouldn't work!!

Is the custom field definatly saving to the DB?
leedavi  
#7 Posted : Wednesday, February 21, 2018 5:48:09 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 322
United Kingdom
Location: France

Was thanked: 28 time(s) in 28 post(s)
This isn't using the Editor? so it should be simple text and the razor template should just display what it finds, it's not going through DNN at that point.
leedavi  
#8 Posted : Wednesday, June 20, 2018 10:21:14 AM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 322
United Kingdom
Location: France

Was thanked: 28 time(s) in 28 post(s)
Users browsing this topic
Forum Jump  
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.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.061 seconds.