mohammadsalmani28/video 问题修复 & 功能扩展

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

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

mohammadsalmani28/video

Composer 安装命令:

composer require mohammadsalmani28/video

包简介

Video package is a package for generating online video services like youtube, aparat etc!

README 文档

README

Video Generator is a package for laravel. This package created for generate embed code in your project. thanks for using my package!

Installation

Step 1

Run following command in root directory of your project:

composer require mohammadsalmani28/video

Step 2 : Add Provider

Now you have to add this line in 'app.php' located in 'config' directory of your laravel project in the providers array:

Mohammadsalmani28\Video\VideoServiceProvider::class,

Done :)

Usage:

This package should be used in your view files.

Code Description
@video('service_name', 'video_url') Generate and return embed code

Examples:

@video('aparat', 'https://www.aparat.com/v/8vam2') 
@video('youtube', 'https://www.youtube.com/watch?v=ImtZ5yENzgE') 
@video('tamasha', 'https://tamasha.com/v/0keJL') 
@video('namasha', 'https://www.namasha.com/v/vEePZkl5') 
@video('vimeo', 'https://vimeo.com/151390908') 

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固