Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Help:
YouTube, Vimeo and Soundcloud Modules
pch



Joined: 20 Nov 2007
Posts: 68

Posted: 06/12/13 20:07 
Hello Dev Team,

The YouTube, Vimeo and Soundcloud Modules are really great modules. Nice Job!

It would have been nice to have a download option along with with these modules on JR5.

Let me explain myself. I.e. We have a YouTube Channel. Unfortunately YouTube doesn't allow frontend users to download videos streamed on their server. What could have been done is to use YouTube Module on JR5 to stream a video (Of course, then save some bandwidth) and then use the Upload Video option of JR5 to upload the same file and then publicly allow the download of that video file being played on Youtube. Meaning... you play using Youtube to save some bandwidth but you download the same video file using JR5. All on the same page. Does it make sense?

Same would have applied with Vimeo and Soundcloud.

What do you think about the idea?

Thanks

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 06/13/13 12:44 
You can upload any file to the jrFile module, and then offer that as a download of the YT item.


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
pch



Joined: 20 Nov 2007
Posts: 68

Posted: 06/13/13 12:52 

Paul:
You can upload any file to the jrFile module, and then offer that as a download of the YT item.


Great! That sounds interesting. But.. how? In the Youtube Module I don't see any option to associate a file to the YouTube Item.

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 06/13/13 13:01 
There isn't a way to do it in one action. Youtubes and Files are separate items so you would need to do something custom to link them.


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
pch



Joined: 20 Nov 2007
Posts: 68

Posted: 06/13/13 13:38 
... meaning it is not a built-in feature, right?

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 06/13/13 14:55 
Not to create a youtube item and upload a file all in one form, no.
You could maybe create a custom module to do it, a sort of 'YouTubePlus' module.
Another option might be to add a custom field to the jrFile form and embed the YT video in that, then when looking at the File list, and with some template modification, you would see the YT video and have the download button next to it.
Or, it might be possible using Bundles (but not sure about that yet).


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
pch



Joined: 20 Nov 2007
Posts: 68

Posted: 06/13/13 15:10 
I am not a coder. Don't you think that it is a good idea to add it as a feature in JR5? JR5 is still in its Beta stage. I think it is a must have feature/module that will work great with YouTube, Vimeo and SoundCloud Modules. You can create that custom module for us to make our life easier.

What do you think Question

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 06/14/13 00:26 

Quote:
What do you think

Not sure. It might be duplicating what can be done already.
In all the time that the YT module has been around this is the first request for something like this.
What do others think?


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
pch



Joined: 20 Nov 2007
Posts: 68

Posted: 06/15/13 13:02 
Yes, we are improving JR5. I think the feature is great and useful.

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 06/18/13 08:21 
Actually, you can do this now with JR5 (or you will be able to do so with the next release (we found a bug when trying it)). Here's how -

Login as admin and in the Youtube update form, click on Form Designer.
Add a field 'youtube_download'.
Set this field to type 'file' and in the options, set a list of allowed file types - flv,wmv,mp4 say.
Now in the youtube update form you get the option to upload an associated file.
In the template that shows the youtube video, add a download button as follows -

Code
        {if isset($item.youtube_download_size) && $item.youtube_download_size > 0}
            <a href="{$jamroom_url}/{$murl}/download/youtube_download/{$item._item_id}"><img src="{$_conf.jrCore_base_url}/modules/jrFile/img/{$item.youtube_download_extension}.png" width="48" height="48" alt="Download {$item.youtube_download_name}" title="Download {$item.youtube_download_name}" class="download_img"></a>
        {/if}

Note that I'm 'borrowing' the image from the jrFile module. You may want to add your own.

That's it - Isn't JR5 wonderful Wink
Cheers
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Help

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.