I have video uploads as part of an advance membership level but not for standard. How hard would it be to allow one to embed Youtube videos in their albums but block uploading of videos based on their membership level? Currently it is all part of the video module so if one can not upload videos, they can not embed a youtube video either. Geeks, making the world a better place |
I am thinking the way to do this would be to create a separate "embed video" module outside of the current upload video module. Remove the embed from the current video module and for the "embed video" module do away with the uploader part because all they will be doing is embedding videos. Then there can be a separate membership level to allow "embed video" and for adding regular uploaded videos.
The problem here is that there would be two video albums; .... What I want to do is to separate out the interface somehow so that membership level will allow embedding of videos but not uploading.
I am thinking that I won't worry about it, and just go ahead and allow video uploading; I don't have the time to work on it at the moment.
The reasoning here is that embedding a video really does not use storage space or bandwidth as uploading and processing videos does.
Geeks, making the world a better place |
|
I did not even bother with it. The embed video is part of the uploader inside the video module. It is not worth the effort to figure out a work around at this time. I am leaving standard membership set to no video uploads and that includes no embedding videos. Maybe someone, or even me, will work on this at some future date; I am just too busy at the moment. Geeks, making the world a better place |
I do not understand. Limitation on adding video has no impact on embedding videos. Besides that I did not logical and I pointed out ticket here, see response Leonids.
I would like to give privilege to some level members integrate video, and I wondered what they replied "it is make no sense to limit activities for embeds"
Baloo |
I thought if I had "video add" disable it also disabled embedding since that is part of the video uploader in the video module. I will have to investigate this. Geeks, making the world a better place |
I am returning to this even though a bit of time has passed; I have so much going on that one thing gets push to the back by another thing.
Currently if one does not have video upload privileges by membership level, it blocks one embedding a video as well. Now, an embedded video costs me almost nothing; a thumbnail is all that is added to the server. I would like to be able to separate out the embedded part of video uploads so that only true uploaded; from a hard drive to my server processed by FFmpeg; is part of the video section of membership levels. I don't really care if my members want to use YouTube for their videos; we can offer an added bonus over YouTube in that we do not plaster a freaking advert on top of the video.
The problem is that embedding videos is a part of the same video uploading. How difficult would it be to separate out the embed part from the true video uploading part? Can anyone provide some suggestions on what I need to do to accomplish this?
Maybe this route would be easier, allow video uploads but change the code to hide the flash and regular upload selection and only have it where the person can select the embed option. That would mean hard coding this in for me as I am not sure I can have this a part of memberships.
I assume maybe something along the lines of; If Membership_level > some_value show flash and regular.
Geeks, making the world a better place |
A little help please. The following is the videos extra_switcher.html
<div class="ordered_block"> __head_key__ <select onchange="loadDynamicBlock(__block_id__, this.value + '&amode=ajax');"> <bx_repeat:options> <option value="__href__" __selected__> __name__ </option> </bx_repeat:options> </select> </div> <div class="clear_both"></div>
How are the entries in the options list generated?
Geeks, making the world a better place |
BxDolFilesTemplate - around line 308:
function getExtraSwitcher ($aMenu = array(), $sHeadKey, $iBoxId = 1) { $aUnits = array(); foreach ($aMenu as $sName => $aItem) { $aUnits[] = array( 'href' => $aItem['href'], 'name' => $sName, 'selected' => $aItem['active'] == true ? 'selected' : '' ); }
caredesign.net |
Thanks, if I make that function local to the video module, I might be able to accomplish what I want to do; allow non premium members to embed but not upload from their hard drive. Getting too late tonight, early start in the morning. Plus, I was suppose to be working on my taxes tonight, not coding  Geeks, making the world a better place |
I have a lot of things going on on my site, but its because I am not using my site as a social networking site, but a medically related one. So, after thinking about your post here, GG, and some other posts I have seen. I want to find a way to ADD allowable actions to the list.
Example - in your case, when looking at allowed actions of a membership level, there is no action called Embedding video. So it would be nice to be able to add this to the list, and make it a simple checkbox for whatever membership levels you want.
I am looking into something like this cause I have several actions that I want to add myself. If I figure something out, I will let you know.
caredesign.net |
I have a lot of things going on on my site, but its because I am not using my site as a social networking site, but a medically related one. So, after thinking about your post here, GG, and some other posts I have seen. I want to find a way to ADD allowable actions to the list.
Example - in your case, when looking at allowed actions of a membership level, there is no action called Embedding video. So it would be nice to be able to add this to the list, and make it a simple checkbox for whatever membership levels you want.
I am looking into something like this cause I have several actions that I want to add myself. If I figure something out, I will let you know.
Yes, when I first started using Dolphin I had similar thoughts; at the time I knew nothing about how Dolphin works; and only a smidgen more now but I am learning.
For me, I need to find a way to allow a standard member to embed but not upload. My solution is going to be a hack, I will allow video add (a part of actions) to standard membership and then hack the code so they can only choose embed as a option. Elegant? Not in the least but if it works then that is what matters.
Geeks, making the world a better place |
just a curious thought - couldn't you keep the scripts as they are now, and add another php block with an embed video form on it and make that viewable to all members. I was thinking that may be a little easier. caredesign.net |
I think the form is generated as part of the page. I just need to isolate the creation of the select tag so that it is local to the video module. Geeks, making the world a better place |