Skip to content

Plugin updates for Craft 5 compatibility #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# COMPOSER
/vendor
composer.lock

# BUILD FILES
/bower_components/*
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 3.0.0 - 2025-02-04
### Added
- Updated for Craft 5 [#14](https://github.com/vigetlabs/craft-videoembed/pull/14)

### Fixed
- Fixed PHP Warning with YouTube ID parsing [#18](https://github.com/vigetlabs/craft-videoembed/issues/18)

## 2.0.3 - 2024-04-01
### Added
- Expand getYouTubeIdFromUrl to allow shortened YouTube URLs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Video Embed plugin for Craft CMS 4.x
# Video Embed plugin for Craft CMS 5.x

Generate an embed URL from a YouTube or Vimeo URL.

## Requirements

This plugin requires Craft CMS 4.0.0 or later.
This plugin requires Craft CMS 5.0.0 or later.

## Installation

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "viget/craft-video-embed",
"description": "Generate an embed URL from a YouTube or Vimeo URL",
"type": "craft-plugin",
"version": "2.0.3",
"keywords": [
"craft",
"cms",
Expand All @@ -22,7 +21,8 @@
}
],
"require": {
"craftcms/cms": "^4.0.0"
"craftcms/cms": "^5.0.0",
"php": "^8.2.0"
},
"autoload": {
"psr-4": {
Expand All @@ -32,10 +32,10 @@
"extra": {
"name": "Video Embed",
"handle": "video-embed",
"schemaVersion": "2.0.0",
"schemaVersion": "3.0.0",
"hasCpSettings": false,
"hasCpSection": false,
"changelogUrl": "https://raw.githubusercontent.com/vigetlabs/craft-videoembed/v2/CHANGELOG.md",
"changelogUrl": "https://raw.githubusercontent.com/vigetlabs/craft-videoembed/v3/CHANGELOG.md",
"class": "viget\\videoembed\\VideoEmbed"
},
"config": {
Expand Down
Loading