Hi Matt and David,
Well, in the process of trying to get this to work Kentico suddenly decided that the Kentico 9 code I had been using up to this point was no longer allowed and started throwing errors. I was able to get the errors to stop by updating the code a bit to more closely match the the YouTube webpart in Kentico 10, but now my webpart returns no content.
None. Just empty divs.
I have no idea what is causing this new issue, since I barely understand why the system started throwing errors in the first place.
On the plus side, the iFrame is there and has a title.
The field I lost was a simple text field used for a video transcript. The Kentico 9 code behind looked like this:
public string VideoTranscriptVar
{
get
{
return ValidationHelper.GetString(this.GetValue("VideoTranscript"), "");
}
set
{
this.SetValue("VideoTranscript", "");
}
}
Any ideas on why my web part suddenly stopped showing content?
Thanks.
-mike