I found the line in the file you identified. This is the "stanza".
<![CDATA[
<fieldset>
<legend>Holds</legend>
<ul class="oc-ui-form-list">
<li class="ui-helper-clearfix"><label
class="scheduler-label">Processing should be paused to allow
for:</label></li>
<label class="scheduler-label"></label>
<span id="trimholdconfig">
<input type="checkbox" id="trimHold" name="trimHold"
class="configField holdCheckbox" value="true">
<label for="trimHold" id="i18n_hold_for_trim"> Review
/ Trim before encoding (with option to edit info)</label>
</span>
</ul>
</fieldset>
<fieldset>
<legend>Distribution</legend>
<ul class="oc-ui-form-list">
<!-- field: License -->
<li class="ui-helper-clearfix">
<label class="scheduler-label"><span class="color-red">*
</span><span id="i18n_dist_label">Distribution
Channel(s)</span>:</label>
<span id="dist">
<input id="distribution" name="distribution"
type="checkbox" checked="checked" disabled="disabled"
class="configField" value="Matterhorn Media Module" />
<span id="i18n_dist_mmm"> Matterhorn Media Module</span>
<input id="youtube" name="youtube" type="checkbox"
disabled="disabled" class="configField" value="Youtube" />
<span id="i18n_dist_mmm"> Youtube</span>
<input id="itunesu" name="itunesu" type="checkbox"
disabled="disabled" class="configField" value="iTunesU" />
<span id="i18n_dist_mmm"> iTunesU</span>
</span>
</li>
I didn't see anything to edit there, so based on what you said and
previous threads on this topic, I added this to the file:
<operation
id="youtube"
if="${Youtube}"
fail-on-error="true"
exception-handler-workflow="error"
description="Distributing media to Youtube?!">
<configurations>
<configuration key="source-tags">engage,atom,rss</configuration>
<configuration key="target-tags">publish</configuration>
</configurations>
</operation>
I put this in the file at the end of the section marked:
<!-- Distribute to download server -->
This was a WAG (Wild Ass Guess) on my part and gets me back to my
earlier question: Where might such an edit go?
Alas, the check box is still not available to me. I have noted this difference:
class="configField" value="Matterhorn Media Module" but I don't see
where this leads.
Sorry to be so dense about this. Don't really understand Java and xml
at all. If this were bash and PERL I might have a prayer.
On Sun, Jul 8, 2012 at 1:00 AM, Tobias Wunden <[email protected]> wrote:
> Hi Jack,
>
> it seems you are talking about the YouTube checkbox in the start wokflow
> panel? You'll find the HTML for that panel in your workflow definition
> (/etc/workflows) at the very top. Note that this checkbox only has an effect
> if your workflow operation handler in the workflow definition has a condition
> "if" that is checking for the state of that checkbox. Take a look at the
> "trim" operation in the same workflow on how to do this.
>
> So to get YouTube working, you'll need to put the "distribute-youtube"
> operation into the workflow you would like to use (usually
> "compose-distribute-publish.xml").
>
> Tobias
>
> On 06.07.2012, at 23:35, Jack Vant <[email protected]> wrote:
>
>> We've just propped up a 1.4 single server installation, figuring that
>> the feature junkies might leave us in peace for a while. I've
>> followed the cookbook instructions to get the youtube piece working,
>> but the youtube button is still not clickable. Here's what I've done
>> so far,
>>
>> Edited
>> org.opencastproject.distribution.youtube.YoutubeDistributionService.properties
>> in /opt/matterhorn/trunk/etc/services so that it looks like this.
>>
>> # Youtube delivery
>> org.opencastproject.distribution.youtube.username=bsumultimedia1
>> org.opencastproject.distribution.youtube.password=boise123!
>> org.opencastproject.distribution.youtube.clientid=abcde
>> org.opencastproject.distribution.youtube.developerkey=AI39si7bx2AbnOM6RM8J7mdrljfZCzisYzDkqvIqEjV3zjbqQIr6-u_bg3R0MLAVVXLqKjSsxu4ReytWFn7ylIlDk6OC7pdXpQ
>> org.opencastproject.distribution.youtube.category=Education
>>
>> # Additional keywords to add to recordings
>> org.opencastproject.distribution.youtube.keywords=Opencast,Matterhorn,BSU
>> org.opencastproject.distribution.youtube.private=false
>> org.opencastproject.distribution.youtube.default.playlist=uncategorized
>>
>> # Resolving proxy upload problem when setting to false default is 'true'
>> org.opencastproject.distribution.youtube.chunked=false
>>
>> I've restarted the server.
>>
>> So, do I need to clean out the cache and start again?
>>
>> Or do I need something like this . . .
>>
>> <operation
>> id="distribute-youtube"
>> fail-on-error="true"
>> exception-handler-workflow="error"
>> description="Distributing media to Youtube">
>> <configurations>
>> <configuration
>> key="source-tags">engage,atom,rss,-publish</configuration>
>> <configuration key="target-tags">publish</configuration>
>> </configurations>
>> </operation>
>>
>> I saw this in an old post on this subject. And where would this
>> snippet go? The default workflow?
>>
>>
>>
>> --
>> Jack Vant
>> System Engineer - Unix
>> Office of Information Technology
>> Boise State University
>> 208-426-4446
>> 208-863-0031
>> _______________________________________________
>> Matterhorn-users mailing list
>> [email protected]
>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
--
Jack Vant
System Engineer - Unix
Office of Information Technology
Boise State University
208-426-4446
208-863-0031
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users