YouTube: you too can youtube!
License: Apache
This FarCry plugin provides integration with YouTube. It will sync both videos and playlists from a specified account.
- Project Home: GitHub - seancoyne/FarCry-YouTube-Plugin: Provides YouTube integration in your FarCry powered website
- Code Downloads: https://github.com/seancoyne/FarCry-YouTube-Plugin/downloads
- Documentation: GitHub · Where software is built
- Bug Database: Issues · seancoyne/FarCry-YouTube-Plugin · GitHub
This plugin has been tested on ColdFusion 9.0.1 and FarCry 6.0.14. It should work in FarCry 6.1.x and older FarCry 6.0.x versions as well.
At its foundation, the plugin works via two custom types and a scheduled task. The scheduled task runs and uses the YouTube API to grab the playlists and videos on the specified account (configurable via a FarCry config). If it finds those objects already in FarCry, it updates them with the latest data from YouTube, if its new, it adds it to the FarCry database. Any items found in FarCry that aren’t returned by the API are deleted. The plugin gives you the ability to reorder the videos on a playlist via the FarCry webtop.
All data is managed on the YouTube side. I may consider adding the ability to completely manage the videos and playlists on the webtop, but that will greatly increase the complexity of the plugin, and I don’t see a great benefit to doing so. To me, it makes more sense to go straight to the source to upload new videos, manage your videos, etc rather than try to stuff all that functionality into a FarCry form. No need to reinvent the wheel, in my opinion.
The plugin also includes two rules. One lists videos based on selected playlists or videos, the other displays an embedded video.