YouTube plugin problems

Randy Johnson <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
Hello, I installed the YouTube plugin from 
http://plugins.farcrycore.org/plugin/youtube. Everything seemed to go well, 
I added API key and username to config and it shows in the content section. 
But I cannot get it to sync. When I try to manually sync, I get the 
following error:

Error Details MessageAn error occured while Parsing an XML document. Exception 
TypeExpression DetailContent is not allowed in prolog. Tag Context 
   
   - C:\inetpub\wwwroot\Clients\vtol.org\farcry\plugins\youtube\packages\custom\custom.cfc 
   (line: 48)
   - C:\inetpub\wwwroot\Clients\vtol.org\farcry\plugins\youtube\packages\types\youtubeVideo.cfc 
   (line: 100)
   - C:\inetpub\wwwroot\Clients\vtol.org\farcry\plugins\youtube\customadmin\manualSync.cfm 
   (line: 11)
   - C:\inetpub\wwwroot\Clients\vtol.org\farcry\core\webtop\admin\customadmin.cfm 
   (line: 35)


I have run into this issue before when there was white space etc at the 
beginning of the XML. Substituting <cfset result = 
xmlParse(result.filecontent)> with <cfset result = 
xmlParse(REReplace(result.filecontent, "^[^<]*", "", "all" )) /> in 
custom.cfc resulted in a different error, "premature end of file."

If anybody could point me towards an explanation of what I might be doing 
wrong, I sure would appreciate it! It will be great to have this feature 
enabled for our content people. Thanks a lot!

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.