I would like to add flag module integration.
So that kaltura entries created can be flagged on the drupal interface.
When creating a kaltura mix, it opens the simple editor on creation not just edit.
And flagged items are added to the clipboard.
Having difficulty with seeing the items on the clipboard, any suggestions?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | flag_adv.patch | 9.13 KB | aufumy |
| #6 | flag_adv.patch | 7.79 KB | aufumy |
| #3 | kaltura_mix_flag.patch | 2.31 KB | aufumy |
| kaltura_mix_flag.patch | 2.35 KB | aufumy |
Comments
Comment #1
Zohar.Babin commentedHi,
Thanks for submitting.
Do you by any chance have any Flex capabilities ?
If I understand your need correctly, that feature is not yet implemented in the editor and requires some development, and that's why I asked if you have any flex capabilities.
We will consider adding some features, both in the server side and in the editor, so implementation of such use-case would be possible.
Gonen
--- EDIT: ---
What I'm talking about here is the option to make a list of independent entries available in the editor.
The current editor knows to display in the clip library only clips which were added to the current mix (whether or not they are being used in the timeline)
Comment #2
Zohar.Babin commentedAfter looking at your code, I had an understanding...
At first I took your need and translated it into an advanced feature that we could add to our editor, but once looking at your code I saw what you tried to do,
and it is possible (less sophisticated of what I thought, but works...)
As I see in your code, you switched the URL in the kalturaInitModalBox() JS function and you're opening the editor instead of the CW.
Actually what you need to change in your implementation in order to see the clips in the editor is the API call
instead of
do
what appendEntryToRoughcut does is add an existing entry to the end of the timeline of the mix.
another option is to call addEntry with
instead of just $show_entry_id
That will duplicate the entry in kaltura, and if you have server-notifications enabled it will also
duplicate the entry in your Drupal site.
In this method, however, the added entry will not be on the timeline of the mix, but will be available in the clip library
Unless you really don't want the items to be added to the time line, use the second method.
If you don't mind if they're added to the timeline, the first method is the preferred one since no "duplication side-effect" happens.
Sorry for misleading you on the first comment :|
Gonen
Comment #3
aufumy commentedAwesome, I'd love to learn flex, if there is some small learning project that I can take on.
I used appendEntryToRoughcut and it works! Here is the patch that brings up the editor with flagged items showing.
Advanced features on the editor would also be great.
The way that we are using the kaltura modules, is:
* the contribution wizard show up upon adding a kaltura entry (as-is)
* with the help of the flag module, users flag media items
* the simple editor/advanced editor shows up when adding a kaltura remix instead of only showing up on node edit of kaltura remix.
* the editor will show the flagged entries in the editor.
Comment #4
Zohar.Babin commentedYour implementation is really nice.
As I previously said, we had a thought of having the option to pass some variable to the editor (like a list of entries, or a filter object) and those entries will be available in the "clips library" (but not yet as a part of the mix).
Are you using our advanced editor ? I don't see anything related in the patch...
Comment #5
aufumy commentedThanks, and thank you for the module, and the help with this issue.
No, not yet in the patch, Assaf will give us some info of the advanced editor maybe today or Monday.
Comment #6
aufumy commentedHi Gonen
This patch includes the flag module integration as well as the advanced editor notes that you mentioned.
Thanks
Audrey
Comment #7
aufumy commentedincluded the changes to kaltura.themeing.inc
Save & Publish button seems clearer than the simple editor separate Save , Close buttons
However, it does not close the overlay, and I cannot see any X at the top right anymore either to close the overlay.
* press the 'Save & Publish' button
* asks to create frame, this does not preview the clip like before, but shows black, the thumbnail shown is where the cursor was on the timeframe, the button there does not close the second overlay. Can click the X at the top.
* back to the advanced editor overlay which has no X at the top and which the 'Save & Publish' button brings me back to the generate thumbnail.
Comment #8
fp commentedOverlay issues moved to it's own thread: http://drupal.org/node/372251
Comment #9
fp commentedOne of the issue that I see with using $kaltura_client->appendEntryToRoughcut is that the flagged assets are not only added to the library (which is the aim) but also to the storyboard. This may be a problem if the user has many flagged items.
So, we need either to be able to add assets only to the library or be able to have access to a function that clears the storyboard.
Comment #10
fp commentedAfter meditating a bit more about this, the option of being able to add assets only to the library is the most desired.
Think, for example, of the case where you would want to remix someone else's remix by adding some of your flagged media. Right now, I can only see 2 less than perfect options:
* load the roughcut without considering the flagged items
* load the roughcut and add the user's flagged items both to the library and storyboard
Until then, I am still looking for a work around...
Comment #11
Zohar.Babin commentedHi,
can a user flag media uploaded by another user ? meaning, list of flagged items do not belong to him (from Kaltura point of view) ?
-- edit --
The reason for this question is - there is a parameter that can be set on your partner, so the clips in the library are not only those in the current roughcut, but all the current user's clips.
I guess users can flag media of other users, which in this case this parameter will not be very helpful.
As I said in the first comment, getting a list of "independent" entries to the clips library is not supported by the SE/AE.
Using the addEntry (with the "hack" of "entry-".$mix_id, and passing "quickedit = false"), could meet your needs, with the disadvantage of duplicating entries
Comment #12
fp commentedYes. I'll give a deeper look to your addEntry suggestion.
Also, in the patch submitted above, per http://drupal.org/node/372251#comment-1258869
kso.addParam("flashVars", "'. $theme_params->flashVarsStr .'");should be:
kso.addParam("flashVars", "'. $theme_params->flashVarsStr .'&jsDelegate=callbacksObj");Comment #13
larsmw commented