YAFLogo

dragonfly
  • dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
13 years ago

We are using the latest version of YAF for DNN. We have selected the TinyMCE editor for YAF. We want to provide an easy way for our users to add YouTube videos. Based on our research, there are two options:

1. Use the IFrame option in the Media plugin

2. Use a YouTube plugin

It seems that the recommended approach is to use the iFrame option, but in our version of YAF we do not see the iFrame option. Is it because YAF comes with an older version of the TinyMCE editor? Which version does YAF come with? Can we just download the latest version from TinyMCE and copy it into the YAF editors directory, or will that cause problems?

Alternatively, should we use a YouTube plugin?

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
13 years ago

Alternatively, should we use a YouTube plugin?

Originally Posted by: dragonfly 

The Easist Way is to use the BBCode Extension which should be installed by default

[youtube]http://www.youtube.com/watch?v=jqxENMKaeCU[/youtube]

The BBCode works with all Editors inside YAF.

But you can also use the Plugin, which will only work in HTML Editor Mode not BB Code Editor Mode. Or you create a Custom Button for the Editor that uses the BBCode like i did for the CKEditor.

Which version does YAF come with? Can we just download the latest version from TinyMCE and copy it into the YAF editors directory, or will that cause problems?

Originally Posted by: dragonfly 

Shouldn't be a Problem to Manually Upgrade to the newest Version, YAF 1.96 will ship with the latest Version of the Editor

dragonfly
  • dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
13 years ago

Alternatively, should we use a YouTube plugin?

Originally Posted by: tha_watcha 

The Easist Way is to use the BBCode Extension which should be installed by default

[youtube]http://www.youtube.com/watch?v=jqxENMKaeCU[/youtube]

The BBCode works with all Editors inside YAF.

But you can also use the Plugin, which will only work in HTML Editor Mode not BB Code Editor Mode. Or you create a Custom Button for the Editor that uses the BBCode like i did for the CKEditor.

Which version does YAF come with? Can we just download the latest version from TinyMCE and copy it into the YAF editors directory, or will that cause problems?

Originally Posted by: dragonfly 

Shouldn't be a Problem to Manually Upgrade to the newest Version, YAF 1.96 will ship with the latest Version of the Editor

Originally Posted by: dragonfly 

Thanks for the quick response. Sorry, I am not fully clear on where I would add this BBCode extension with

TincyMCE. There is an init file in the TinyMCE editor director under YAF. Does the extension go in that file? Our objective is to have a "YouTube" icon on the editor action bar that will let end users easily add YouTube videos to the TinyMCE html editor box. Our understanding is that we can either install a YouTube plug for TinyMCE or get the latest version of the code and user the iFrame option in the editor Media toolbar action. If we use the BBCode extenions, how do end users actually enter YouTube videos?

squirrel
13 years ago
The youtube BBCode is already installed in YAF -- what tha_watcha is saying is you can use the
[youtube]{{direct URL to video}}[/youtube]
in whatever mode YAF is editing in and it should recognize it and will substitute the Youtube object when the post is displayed.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
dragonfly
  • dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
13 years ago

The youtube BBCode is already installed in YAF -- what tha_watcha is saying is you can use the

[youtube]{{direct URL to video}}[/youtube]
in whatever mode YAF is editing in and it should recognize it and will substitute the Youtube object when the post is displayed.

Originally Posted by: squirrel 

Okay, I understand now. I found the BBCode Extensions area in YAF and it does have the YouTube extension setup. However, when I try to enter the code in a posting [youtube]YouTube URL[/youtube], I don't see an embedded YouTube video in the post. I just see "[youtube]YouTube URL[/youtube]". It seems like YAF is not properly recognizing the extension. Any thoughts as to why this might be occuring? Should it actually embed the video?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
13 years ago

The youtube BBCode is already installed in YAF -- what tha_watcha is saying is you can use the

[youtube]{{direct URL to video}}[/youtube]
in whatever mode YAF is editing in and it should recognize it and will substitute the Youtube object when the post is displayed.

Originally Posted by: dragonfly 

Okay, I understand now. I found the BBCode Extensions area in YAF and it does have the YouTube extension setup. However, when I try to enter the code in a posting [youtube]YouTube URL[/youtube], I don't see an embedded YouTube video in the post. I just see "[youtube]YouTube URL[/youtube]". It seems like YAF is not properly recognizing the extension. Any thoughts as to why this might be occuring? Should it actually embed the video?

Originally Posted by: squirrel 

What is the url you tested. It only works if the Link is

dragonfly
  • dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
13 years ago

The youtube BBCode is already installed in YAF -- what tha_watcha is saying is you can use the

[youtube]{{direct URL to video}}[/youtube]
in whatever mode YAF is editing in and it should recognize it and will substitute the Youtube object when the post is displayed.

Originally Posted by: tha_watcha 

Okay, I understand now. I found the BBCode Extensions area in YAF and it does have the YouTube extension setup. However, when I try to enter the code in a posting [youtube]YouTube URL[/youtube], I don't see an embedded YouTube video in the post. I just see "[youtube]YouTube URL[/youtube]". It seems like YAF is not properly recognizing the extension. Any thoughts as to why this might be occuring? Should it actually embed the video?

Originally Posted by: dragonfly 

What is the url you tested. It only works if the Link is

Originally Posted by: squirrel 

Hi,

We are using a standard YouTube link. It begins with

For some reason it is not being converted by YAF to an embedded video.

Thanks