YAFLogo

dragonfly
  • dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
12 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: 3.0.3
12 years ago
Originally Posted by: dragonfly 


Alternatively, should we use a YouTube plugin?



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.

Originally Posted by: dragonfly 


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?



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
12 years ago
Originally Posted by: tha_watcha 

Originally Posted by: dragonfly 


Alternatively, should we use a YouTube plugin?



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.

Originally Posted by: dragonfly 


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?



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




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
12 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
12 years ago
Originally Posted by: squirrel 

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.



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: 3.0.3
12 years ago
Originally Posted by: dragonfly 

Originally Posted by: squirrel 

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.



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?



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

dragonfly
  • dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
12 years ago
Originally Posted by: tha_watcha 

Originally Posted by: dragonfly 

Originally Posted by: squirrel 

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.



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?



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




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
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button