weboftalent/silverstripe-shortcode-youtube 问题修复 & 功能扩展

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

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

weboftalent/silverstripe-shortcode-youtube

Composer 安装命令:

composer require weboftalent/silverstripe-shortcode-youtube

包简介

Adds a shortcode for embedding YouTube video. For Silverstripe

README 文档

README

#YouTube ShortCode Handler Build Status Scrutinizer Code Quality Code Coverage Build Status codecov.io

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads

Dependency Status Reference Status

codecov.io This module allows YouTube videos to be entered as short codes. It is based on the SSBits tutorial http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/ and adpated to work with Silverstripe 3.

##Functionality Videos can be entered into a page using the YouTube code (the v parameter in a YouTube URL).

[YouTube id='_yY3Gu8HbzE']

The following parameters are also permitted:

  • autoplay - set this value to anything, e.g. 1 or true, to enable autoplay on the embedded video
  • caption - Text to display after an embedded video. This can either be passed as an attribute or as follows [YouTube id='_yY3Gu8HbzE']This is the caption[/YouTube]
  • height - set the height of the video
  • width - set the width of the video

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-11-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固