level51/silverstripe-youtubesync 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

level51/silverstripe-youtubesync

最新稳定版本:0.1.4

Composer 安装命令:

composer require level51/silverstripe-youtubesync

包简介

A SilverStripe module for syncing videos with Youtube

README 文档

README

YoutubeSync is the module of your choice, if you like to show your youtube videos on your homepage. It allows you to fetch videos from Youtube by just giving your username and a valid API key. The videos are stored in the database with a custom DataObject, so the API must not be called on every page load.

Maintainers

Installation

composer require level51/silverstripe-youtubesync 

Setup

  1. Be sure that the module is in a folder youtubesync/ on the root of the project.
  2. sake dev/build "flush=all", depending on your config you might have to do this via URI in the browser.
  3. Checkout the google developers console and:
    • Activate the YouTube Data API
    • Create a API key (Browser key) in the Credentials section
  4. Go to the CMS settings and put your key and username in the Youtube tab
  5. Take a look in the Youtube model admin ... and sync for the first time
  6. You can use the videos in your pages - all you need is a getter - or you can take a look in the basic YoutubeVideoPage contained in the module

Features

  • Fetching your Youtube videos - by just giving your username and a valid API key
  • A YoutubeVideo DataObject for storage in the database
  • A GridField action that allows you to sync with youtube
  • The sync is done manually in the backend - so it's not necessary to call the API on each pageload
  • The title and description of the fetched videos can be edited - and will not be overwritten on the next sync
  • Thanks to the sortablegridfield module the records are also sortable
  • A checkbox allows you to hide some videos
  • A model admin for the whole process
  • A basic page type, that shows the usage (including a basic template)

统计信息

  • 总下载量: 53
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-08-19