Closed madebyiando closed 11 years ago
I just pushed fix to allow for this to work properly...now something like this should work:
[mura]$.muraPlayer.dspJWPlayer(file='/path/to/file.m4v')[/mura]
You can also specify width and height attributes:
[mura]$.muraPlayer.dspJWPlayer(file='/path/to/file.m4v', width='480', height='272')[/mura]
The fix affected only one file though ... you should be able to update your own file by editing: /plugins/MuraPlayer/extensions/components/includes/jwPlayer.cfm
Around line 120, change this:
<cfif len(trim(arguments.streamer))>
To this:
<cfif len(trim(arguments.streamer)) and arguments.streamer neq 'rtmp:///cfx/st'>
Fantastic, thanks for such a quick turnaround, great work!
Shaun
From: Steve Withington [mailto:notifications@github.com] Sent: 19 March 2013 14:50 To: stevewithington/MuraPlayer Cc: Shaun Perry Subject: Re: [MuraPlayer] Embedding into an existing page (#3)
I just pushed fix to allow for this to work properly...now something like this should work: [mura]$.muraPlayer.dspJWPlayer(file='/path/to/file.m4v')[/mura]
You can also specify width and height attributes: [mura]$.muraPlayer.dspJWPlayer(file='/path/to/file.m4v', width='480', height='272')[/mura]
— Reply to this email directly or view it on GitHubhttps://github.com/stevewithington/MuraPlayer/issues/3#issuecomment-15118643.
Works perfectly, thanks again!
From: Steve Withington [mailto:notifications@github.com] Sent: 19 March 2013 14:52 To: stevewithington/MuraPlayer Cc: Shaun Perry Subject: Re: [MuraPlayer] Embedding into an existing page (#3)
The fix affected only one file though ... you should be able to update your own file by editing: /plugins/MuraPlayer/extensions/components/includes/jwPlayer.cfm
Around line 120, change this: <cfif len(trim(arguments.streamer))>
To this: <cfif len(trim(arguments.streamer)) and arguments.streamer neq 'rtmp:///cfx/st'>
— Reply to this email directly or view it on GitHubhttps://github.com/stevewithington/MuraPlayer/issues/3#issuecomment-15118801.
Hi Steve
Is there a way to embed videos into a page using the [mura] tag? I seen your preview video when you added code to the template but unsure whether the mura tag can be used to do this within CKEditor. It's for a non-technical editor.
Cheers as always!
Shaun