Skip to content

Commit f4e9913

Browse files
jcohlmeyerJRC9 Devs
authored andcommitted
Add Replicator Preview Text
1 parent a735d6e commit f4e9913

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: VideoEmbed
2-
version: 2.2.1
2+
version: 2.2.2
33
description: A field type for embedding YouTube and Vimeo Videos
44
url: https://github.com/jrc9designstudio/statamic-video-embed
55
developer: JRC9 Design Studio

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Video Embed for Statamic 2
22
*Requirement:* Statamic v2.6.x, curl
3-
*Version:* 2.2.1
3+
*Version:* 2.2.2
44

55
### What is this?
66
Add YouTube and Vimeo videos to Statamic with a Video Embed field.
@@ -120,6 +120,7 @@ If you really want a simple tag that does it all for you, you can create your ow
120120
- `portrait_cinema` 9:21
121121

122122
### Version Log
123+
- 2.2.2 Add Replicator Preview Text
123124
- 2.2.1 Fix for Statamic 2.6
124125
- 2.2.0 Added support for duration from YouTube thanks to @JayVerb for your work on this & ajax abort (for slow requests)
125126
- 2.1.1 Fixes Vue not recognizing youtu.be addresses.

resources/assets/js/fieldtype.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ Vue.component('video_embed-fieldtype', {
106106
},
107107

108108
methods: {
109+
getReplicatorPreviewText() {
110+
return this.title;
111+
},
109112
getData: function () {
110113
// We are now loading ...
111114
this.loading = this.urlChanged ? true : false;

0 commit comments

Comments
 (0)