[CS5] [JSX] How to put a video from a URL

Hey everybody,

I found a great help in this forum in the past, so I hope that someone can help me this time.

I use Indesign CS5 on a mac. I write in Javascript.

What I'm trying to do it dynamically puts a video from a URL.

I thought I could do this by adding a rectangle, then instead of the rectangle a film and finally add the URL.

It does not work. I'm lost on how to proceed.

Here is the code that I hoped would do (just the relevant lines from a bigger script)

myDocument var = app.documents.item (0);

myPage var = myDocument.pages.item (0);

frameVideo = myPage.rectangles.add ({geometricBounds: [0, 0, 144, 144]});

onlineVideo = frameVideo.movies.add ();

onlineVideo.url = " " http://www.meffect.nl/rocvideo/91870.MP4 ";

When I run this script, I don't get any errors, but the video in the URL is not loaded.

Can I use something like

onlineVideo = frameVideo.place (URL ("http://www.meffect.nl/rocvideo/91870.mp4"));

It doesn't work anymore!

I hope that this is at all possible... I think it is, as you can do it manually in InDesign too.

Thanks guys,.

Michiel

Hey guys,.

I just arrived at the office after a good night's sleep, so I thought, let's give it another shot.

For some reason any my code works now. This is exactly the code I posted yesterday.

I have no idea why it does not work then, but it works now.

Weird, but I don't mind as long as he continues to work

Thanks anyway!

Michiel

Tags: InDesign

Similar Questions

  • How can I download videos from my DSLR Sony DHV for later editing and the creation of a DVD?  I just installed Adobe software today and can't find anything about it.

    How can I download videos from my camera Sony HDV for later editing and the creation of a DVD?  I just installed Adobe software today and can't find anything about it.

    I am very familiar with Pinnacle, but I've been disillusioned about their support.

    Ian

    First you connect your device to your computer using your Firewire port, then press F1 and search for capture

    http://helpx.Adobe.com/Premiere-Pro/KB/cant-capture-DV-HDV-video.html

    - and more info on Windows http://forums.adobe.com/message/4708997

    -Legacy driver http://www.studio1productions.com/Articles/Firewire-1.htm

    -All versions of Windows from 7 to 10 need legacy driver!

    This is old, but still a good place to start - CS5-thru-CC body/Encore tutorial list http://forums.adobe.com/thread/1448923 has many links to help learn... including how to still get to create a DVD

  • How can I transfer video from my ipad on my mac

    How can I transfer video from my ipad on my mac

    Hi, looking for iPhone Transfer for Mac, a wonderful tool of RecoveryAdnroid especially for iOS devices. You can run the program on the computer and connect your iPhone and then it will detect the phone data and show you a preview. Simply choose the videos and transfer videos from iPhone to computer.

    Hope this will help you.

  • How to convert a video from iPhone to a DVD burner

    How to convert a video from iPhone to a DVD burner

    ?

    What, exactly, you try to do? What kind of computer do you have?

    ~ Lyssa

  • How do I download video from the iPad to revel?

    How do I download video from the iPad to revel?

    PN the iPad/iPhone app, you can download the videos that were taken on the iPad/iPhone. You download them the same way to make a photo, check out this link:

    http://forums.Adobe.com/message/5114160#5114160

    See this link for the types of files supported:

    http://forums.Adobe.com/message/5833667#5833667

    Guinot

  • How can I move video from iPhoto to iMovie?

    Hello!

    I'm moving the video from iPhoto to iMovie. I've done it before without a problem, but not today.

    For some reason any video does NOT appear in the iMovie library case. I don't know why and I don't know how to make the video appear.

    Any suggestions?

    Thank you very much!!!

    PS I put my OS is 9, but I updated to Yosemite last spring. Even is this screwing?

    You've improved iMovie version 10.1.1?  Then Photos videos will appear in the section of the library of the media browser and not in the events of iMOvie.

  • How can I find out how to import my videos from my Sony Nex - 5n on my MAC?

    I need help to import my videos from my NEX - 5n to my Macbook Pro! I have no idea how do and I can't find the answer online... Thank you

    -joe

    Simply connect the way camera by USB (Menu-> Setup-> set USB connection: Mass Storage) and browse SD placed behind closed doors by the file browser. Or remove your SD card and put the USB SD reader and browse.

    your data on SD card:

    -> DCIM - photos

    -> PRIVATE / AVCHD / BDMV / STREAM - videos

    If you need to automatically upload the photo / video wait for reply MAC, or try to serach forum users.

  • How can I download videos from facebook using SpeedBit Downloader-get error 12029?

    I use svd2 to download videos from facebook. But I get a msg "Error 12029". How to solve this problem?

    URL of affected sites

    http://

    Go to the following address for assistance with SpeedBit Downloader:
    http://www.SpeedBit.com/contact/

  • How can I download videos from my camcorder Canon MVX35i on El Capitan?

    I tried several methods to download videos from my Canon MVX35i, today no joy.

    Does anyone have any ideas of how do? or is the obsolete camera?.

    Chr15tob3ll3 wrote:... several ways in low loading videos from my Canon MVX35i... ideas of how do?...

    Your camera instruction manual on page 91 of the lists only one way - by using an IEEE 1394 (Firewire - USB not) cable.

    With a working connection, iMovie help will give you specific information on how to download the video in iMovie (import) for editing and sharing.

    If you still have trouble even if you have successfully downloaded video from this camera to the Mac, check possible damages due to your Firewire cable (and If necessary adapter you connect to your Mac).  Look at all the troubleshooting suggestions included in your 91 manual page.

    If all above fails them, your device may require a professional service.

    Chr15tob3ll3 wrote:... the obsolete camera?.

    Of the Europe-Canon Canon MVX35i Product Support page shows that the device is taken in charge in OS Mac OS X thanks to 10.10 (Yosemite).  With the possible exception of the special functions of your camera Wi - Fi, if any, your MVX35i should also work with OS X 10.11 (El Capitan).  If necessary, you can contact Canon to check the latest Mac news media.

    Post edited by: Jim EZ

    Mac OSX 10.11.2

  • How to download a video from youtube on windows media center?

    I recorded a gameplay on my computer and it was recorded in Windows media center, how can I upload it to youtube?

    I recorded a gameplay on my computer and it was recorded in Windows media center, how can I upload it to youtube?

    ===========================================
    Your video file is not 'in' media library... it will be saved in
    a folder on your hard disk drive... probably your folder my videos.

    See the following articles:

    How to download YouTube videos

    How to put Windows Movie Maker video on YouTube?
    http://www.techburgh.com/2009/05/10/how-to-put-Windows-Movie-Maker-video-to-YouTube/

  • How to capture a video from a home made dvd to use to create a video edited with Windows Movie Maker

    I have a DVD made home to a sporting event that my son has played in. I'm trying to get the DVD video in a file on my PC so that I can use it with Windows Movie Maker. I know how to create and edit a video on movie maker, but I can't seem to figure out how to capture video from this DVD. It is probably a 'rookie' question, but I couldn't find what I needed by using 'help' or 'search', so I hope someone in this forum can tell me how to do this.

    I have a DVD made home to a sporting event that my son has played in. I'm trying to get the DVD video in a file on my PC so that I can use it with Windows Movie Maker. I know how to create and edit a video on movie maker, but I can't seem to figure out how to capture video from this DVD. It is probably a 'rookie' question, but I couldn't find what I needed by using 'help' or 'search', so I hope someone in this forum can tell me how to do this.

    =======================================
    If you're running Vista Home Premium or Ultimate, you can
    be able to import files into Movie Maker directly from the
    DVD... the files you want are in the VIDEO_TS folder and have
    a VOB extension.

    Also... the info is maybe worth a visit:

    DVD Movie Maker 6... in Vista Home Basic
    http://www.Papajohn.org/newsletters/185-DVDtoMM6inVistaHomeBasic.html

    When you insert the DVD in your DVD player... close
    all the windows that can open and then go to... Start /.
    Computer... right click the icon for the DVD player
    is in, and then select Explorer.

    The files you need from the DVD are the. VOB files.
    You will find them in the VIDEO_TS folder. Copy them
    in a folder on your hard drive.

    First... just try to rename one of the. VOB files to
    . MPG or .avi and see if it will matter in Movie Maker.
    If import works... drag the file to the timeline and
    Economy/publication it to .wmv or .avi format. Then...
    Re - import new video film for editing purposes.

    (FWIW... you can probably play the files renamed
    in Windows Media Player to be sure that VOB
    file to edit)

    If you are unable to import the files they need to be converted
    another .wmv format would be a good choice.
    The following free Converter may be helpful.

    SUPER © Simplified
    Universal Player Encoder & Renderer
    http://www.videohelp.com/tools/Super
    (the download mirror site is faster... it is said):
    Mirror download (direct link) (28.1 MB))

    (FWIW... it is always a good practice to create one)
    System restore point before installing new software)

    After installing the program GREAT... open...
    you will see two small circles at the top left
    corner of the screen... check the UPPER circle.

    Now... Drag/Drop your. VOB files in the current field.

    Output container... Choose wmv...

    Video scale size / no change

    Left, click the Encode button.

    Choice: A Simple Profile / OK...

    Wait...

    (FWIW... I have better luck with video if I'm not
    try to multi-task while a file is being converted)

    When the file is converted, you should find it in...
    Program Files / eRightSoft / Super / exit.

    Or... you can type... CTRL + T.. o open the Save
    Window and choose a backup folder.

    Good luck...

    Also... try the following free software:

    The following freeware can convert:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory
    http://www.pcfreetime.com/
    (FWIW... installation..., you can uncheck
    ('all' boxes on the last screen)

    After downloading and installing Format Factory...
    Open the program and choose an output folder...
    (this is where you will find your files when they are
    converted)

    Drag and drop your VOB files on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    Good luck...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How to run my videos from camcorder on windows 7?

    computer can not find the driver for camcorder.

    The following items may be worth a visit:

    How to import videos in Windows Live Movie Maker
    http://www.Dummies.com/how-to/content/how-to-import-videos-into-Windows-Live-Movie-Maker.Navid-323836.html

    Import video from a video camera digital
    http://help.live.com/help.aspx?market=en-IE&project=WL_Movie_Makerv1&querytype=topic&query=WL_Movie_Maker_PROC_ImportFromVideoCamera.htm

  • How to put this video on this TV?

    I can't seem to find a way to put this video: SHOT for TV - YouTube

    On the TV in this video: Oner - YouTube

    I'm a high school student is induced for a local film festival. It is one of the last shots and I am encountering both wise wall and must understand this.

    I tried to use the corners of perspective in After Effects video and nothing works. Also, I realized, that because it is an old CRT TV, the shape of the screen is not perfectly rectangular, so when I get the video there, it will be no great wonder. Nobody knows the best way that I could keep on doing in After Effects or Premiere? Or is someone willing to do that and help out a guy?

    Thank you

    TJ

    OK, here's the tutorial, but first a little explanation on the preset that I used. It's really simple. You add corners and CC power PIN, then you add an expression to each of the corners in the CC power PIN and attach them to the angle in the corners. Then, you check the box to develop. When you paste data from corner pin in the effect of pin corner and then extinguish the effect Corner Pin, that you end up with a full stable screen shot with the tracks area locked in place. This makes it very easy to composite, add caches and work quickly to this type of a composite. Here is a link to the screening:

    Dropbox - Pin.ff stabilized corner.

    Just download and save it to your custom presets folder. It should work in 2014 CC and later.

    Here is the tutorial:

  • How to capture Audio/video from multiple sources?

    How would we go about capturing audio and video from multiple sources at the same time with Adobe premiere pro? This is essential for what I want to do with the software... If he is incapable of such a thing, I might need to consider using another program...

    Using a recorder of separate sounds... it's not "crazy" or even difficult.

    You can also reach mixer on your device to capture of live animals (camera?) but make sure its on a track audio discrete...

  • How to put two videos to play simultaneously on a PDF file with a common play button

    I know how to put videos on a PDF file. I'm looking for ways to have a common control button.

    I want to be able to play the files simultaneously and wind/return them as simultanousley.

    @markerline - this has nothing to do with InDesign.

    @Maesumi - you can send multimedia orders links and buttons in a PDF file. These include the ability to play, stop and rewind video annotations.

    Add two videos for the PDF using Acrobat Pro, and then create a button. Click on 'all properties' button 'actions' tab, choose "mouse up" and "multimedia operation Acrobat 9 and later versions. Click Add, and then select the first video and the operation to perform. The closure of the pop-up window, press Add and select the other video, more of the same operation. This stack two actions on the button. Repeat the process to create buttons play, stop, etc. According to your needs.

    The same thing can be done with a link, by choosing the type of "personal" link to open the dialog box actions.

    Note that with the widget video by default, you cannot bind controls playback bar in videos. This is only possible with a custom widget and some scripts.

Maybe you are looking for

  • Cannot move images from album to album dif

    Impossible to return some photos of 1 album to another

  • Can I change my HDD Toshiba dead PCB?

    Hello My drive hard toshiba is dead!Can I change the layout of my hard drives dead for a pcb of a new hard drive (like the old hdd)?It works perfectly? Pleas help me, I lost all my data. Thank you.

  • HP 15 laptop. : UNINSTALATION OF SOFTWARE.

    I tried to install a game (Sanandreas), he has been unable to install and when I tried a second time, I have been informed that there is. So I went to check my list of applications installed that are there. When I tried to uninstall it, it was not po

  • Windows XP safe mode does not

    The computer, I work with the University running windows xp sp2, not authentic and is infected with several viruses and to among which are Sality.AT and Hikjav! INF and Hikjav! At and some more... I had Avira installed on the computer and I uninstall

  • my basket

    trash on the desktop shows that there is something in there.  When I open it its empty.  I tried to empty anyway, and he said, are you sure you want to remove windows...? I find it a little scary. What should I do?