File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -258,25 +258,25 @@ def handle_message(event)
258
258
} )
259
259
260
260
when 'imagemap video'
261
- video_url = File . join ( settings . app_base_url . to_s , " imagemap/video.mp4" )
262
- preview_url = File . join ( settings . app_base_url . to_s , " imagemap/preview.jpg" )
261
+ video_url = File . join ( settings . app_base_url . to_s , ' imagemap/video.mp4' )
262
+ preview_url = File . join ( settings . app_base_url . to_s , ' imagemap/preview.jpg' )
263
263
reply_content ( event , {
264
264
type : 'imagemap' ,
265
265
baseUrl : THUMBNAIL_URL ,
266
266
altText : 'Imagemap alt text' ,
267
267
baseSize : { width : 1040 , height : 1040 } ,
268
268
video : {
269
- " originalContentUrl" : video_url ,
270
- " previewImageUrl" : preview_url ,
271
- " area" : {
272
- "x" : 0 ,
273
- "y" : 0 ,
274
- " width" : 520 ,
275
- " height" : 520 ,
269
+ originalContentUrl : video_url ,
270
+ previewImageUrl : preview_url ,
271
+ area : {
272
+ x : 0 ,
273
+ y : 0 ,
274
+ width : 520 ,
275
+ height : 520 ,
276
276
} ,
277
277
external_link : {
278
- linkUri : " https://line.me" ,
279
- label : " LINE" ,
278
+ linkUri : ' https://line.me' ,
279
+ label : ' LINE' ,
280
280
} ,
281
281
} ,
282
282
actions : [
You can’t perform that action at this time.
0 commit comments