Hi everyone. When I try to upload an video with PicasaWeb Java Client,
videos always on pending status.
If I use Picasa Web Interface to upload the same video file, all is
ok.
<code>
URL albumUrl = new URL("https://picasaweb.google.com/data/feed/api/
user/"+USER+"/albumid/"+albumID);
PhotoEntry myVideo = new PhotoEntry();
myVideo.setTitle(new PlainTextConstruct("Test"));
myVideo.setDescription(new PlainTextConstruct("Test"));
myVideo.setClient("OMBB");
MediaFileSource myMedia = new MediaFileSource(new File("/Users/
juliomartins/Desktop/g.mov"),"video/quicktime"));
myVideo.setMediaSource(myMedia);
PhotoEntry returnedVideo = service.insert(albumUrl, myVideo);
String videoStatus = returnedVideo.getVideoStatus();
</code>
After a long time waiting, nothing happend and the video not visible
on my picasa account.
anyone have any idea what might be happening?
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-picasa-data-api?hl=en.