Hi Adeloa,
Sorry I missed your message, I hate mailing lists hehe. Forums FTW!
Well, here's my code:
<view id="videoviewer2" y="22" width="200" height="150"
stretches="both" play="false" align="center"
resource="$path{'video/text()'}">
<method event="onlastframe">
this.stop(1);
</method>
</view>
<!-- Play button -->
<basebutton x="5" y="22" resource="viewProfile_btn">
<method event="onclick">
videoviewer2.play();
</method>
</basebutton>
I have a view and a button. When the user clicks the button I wanted the
video to play in the view. It works except the video window is blank,
there is no video, just audio. If I edit the view to play=true it plays
correctly, with audio and video.
Any help would be greatly appreciated.
Martin
Adeola Awoyemi wrote:
> Hi Martin,
>
> I have only seen this but I don't have the rest of the message thread.
> Can you please send me your code and explain what your problem is/was
> and I'll look into it today.
>
> Please note that I am in GMT time as that could also affect my
> response time ;)
>
> Regards,
> Adeola.
>
> Martin Allchin wrote:
>> Nope :-(
>>
>> I've asked in the forums too and had a couple of suggestions, but to
>> no avail.
>>
>> How are you loading the video from the dataset? I had trouble playing
>> it initially, you need to define it as a resource instead of a source.
>>
>> My problem is playing the video on an event (eg onclick), but I have
>> a simple play onload working from a dataset :-)
>>
>> Martin
>>
>>
>>
>> Robin Sheat wrote:
>>> Martin Allchin wrote:
>>>
>>>> Okay sorry to keep going on about this, but I haven't really had
>>>> much of a response.
>>>>
>>>> Is it a bug? Can someone confirm, or am I doing it wrong?
>>>>
>>>> I have some work due in next week and had hoped to make progress,
>>>> but it seems no-one ever really answers any of the questions I
>>>> post. Laszlo is seriously lacking in user help :-(((
>>>>
>>> Did you find a fix or workaround to this? I think I'm being bitten by
>>> the same bug. (In my case, loading the video URL from a dataset won't
>>> play, specifying it directly will)
>>>
>>> Robin.
>>>
>>>
>>
>>
>> _______________________________________________
>> Laszlo-user mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user