"Unpausable" media - control bar undocumented feature

As I was looking for a way to disable play on some video ad, I stumbled upon a hiden feature of the control bar:
- The play and pause buttons toggle their visibility (and presence in layout) when metadata with the key "Advertisement" is not null on the media.
The feature is not fully functional though. Line 64 of "PlayButton.as" needs to be modified:
//visible ||= media.metadata.getValue("Advertisement") != null;
visible &&= media.metadata.getValue("Advertisement") == null;
Then, you can do something like this:
var metadata:Metadata = new Metadata();
media.metadata.addValue("Advertisement", metadata);
... and the play/pause buttons won't be present while your media is in the player.
Note: I figure this is the most "kosher" way of dealing with the problem. Modifying the PlayTrait (extending it) would actually make it more awkward to handle the media. This method only limits the end user by modifying the GUI. You can still play/pause internally without having to work around your own alterations, and you're less likely to make the media player complain.

Does NeedleDrop v3.0 do the trick for you? This is the information given for the script:
This applet plays each track in the selected iTunes playlist for a chosen time interval starting at a chosen number of seconds into each track, beginning with the selected track (if no track is selected then playing will start from the beginning of the selected playlist). Handy for quickly perusing a playlist.
http://dougscripts.com/itunes/scripts/ss.php?sp=needledrop
(Thinking here that if you put the Track in question into its own playlist, then you could use the NeedleDrop functions to zoom in on a particular segment of the track.)
If it isn't quite what you're looking for, there might be something else at Doug's AppleScripts:
http://dougscripts.com/itunes/

Similar Messages

  • SWF Control via Standard Control Bar

    We would like to control the playback of SWF movie much like
    you would a FLV via a standard media control bar. The pre built
    controls in Flash work well with video FLVs but do not work with
    SWFs. It is important for our core content files to remain as SWFs
    as they are true vector animations with an MP3 sound track which we
    would like our users to be able to pause, start, scan, control
    volume, etc. Rendering them as FLVs causes a lot of file bloat and
    the compression is not kind to large areas of flat field color,
    etc.
    These SWFs are prebuilt and exist as separate elements
    imported into our Flash Project.
    So, is it possible to control a SWF as such?
    Are there pre built elements for sale anywhere on line so we
    would not have to build the control code and interface art from
    scratch?
    How difficult would this be to code from scratch if
    necessary?
    THANKS!!!
    chris magid
    [email protected]
    rtvf

    Hi Saqib,
    Sorry, I made a typo: I meant user-status (not user-exit). It is also possible have user-statusses in place for network activities. You can customize a user status in that way that it is automatically set at creation or release or a lot of other business transactions.
    I can't give the correct business transactions: I think blocking FI-postings related to the activity will do the trick. Unfortunately I have no time to do the checking.
    Regards,
    Paul

  • I am using strobe media playback but i want to add new button for subtitle in control bar,Can anybody tell me how can i do it.

    I am using strobe media playback but i am not able to add new button for subtitle in control bar.
    I have imported assets.fla file in Flash professional but i do not understand how add new button in this fla and then link with action script method to show subtitle.If anybody know about it please tell me.

    Hi,
    Yes you can add video subtitle and I can give you the details how to do
    that. Can you please advise which type of files you have for video
    subtitile and how many language you want to add. i.e. text files or xml
    files.
    Best regards,
    Sunil Kumar
    On Thu, Jan 15, 2015 at 5:22 PM, Add Subtitles to OSMF and <

  • Control Bar Separate From Media Player

    Using LayoutMetadata how would I make the control bar vertically position itself below the current MediaElement? I would like the media element to position itself within a given rectangle above the controlbar, like YouTube's player for instance. Answering this question in terms of the OSMFPlayer example would be most helpful. Thanks!

    With the OSMFPlayer sample, the main media element gets added to a MediaContainer instance. By changing the layoutMetadata properties of the media element, its position and size can be controlled.
    // Set layout metadata:
    var layoutMetadata:LayoutMetadata = new LayoutMetadata();
    layoutMetadata.top = 0;
    layoutMetadata.left = 0;
    layoutMetadata.right = 0;
    layoutMetadata.bottom = 100;
    layoutMetadata.scaleMode = ScaleMode.LETTERBOX;
    layoutMetadata.horizontalAlign = HorizontalAlign.CENTER;
    result.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layoutMetadata);
    Inserting the above snippet of code at line 163 of OSMFPlayer.as would results in the content not being shown behind the control bar. The position of the control bar itself can be tweaked by changing the values in the src/assets/configuration.xml file.

  • I have added some sound files to my daughter's website (using Homestead as host). Sound files control bar doesn't show up right (but it does in IE). Any ideas?

    In Firefox the control bar is gray and the play button kind of fades into the bar. In IE, it looks like it is suppose to - dark grey/black control bar with a big blue circle (on the left) with a bright white arrow inside of it (making it obvious as to how to play the mp3).

    That interface is entirely based on what plugin is being used. For IE, it looks like Windows Media Player, and in your Firefox screenshot, it looks like the QuickTime plugin is being used.
    Attached is what it looks like for me (Firefox on Mac). And it looks that way in Safari as well.
    As a user, you could stop Quicktime from being used for ''audio/mpeg'' files, using the instructions at https://support.mozilla.org/en-US/kb/quicktime-plugin-play-audio-and-video#w_embedded-media
    As a web-developer, if you want to control the media player interface, it might be better to convert your site to HTML5, then use the <audio> tag which doesn't require any plugin. For more info, read https://developer.mozilla.org/en-US/docs/Using_HTML5_audio_and_video
    You should probably ask in a web-developers forum.

  • Image display QUALITY controll bar/change/modifi

    Hello
    the bridges display quality of jpegs and raw images is awfull!!!
    i see blockiness in all of my images, how can i watch my photos like this??
    there is no crispness!
    u should made a picture display quality controll bar like speed-------quality
    so the user can select!

    Frosti,
    This request has been made many times. The development team are aware of the need for 100% previews. However, such a feature, if provided, will not be available until at least Bridge 2. Based on previous upgrade cycles that would be late 2006, at earliest. In the meantime you might consider providing more information on the type of images you're trying to preview (i.e. Raw, JPG, etc).
    Also, I would suggest that you soften the tone of your comments otherwise you'll find yourself with Read Only access.
    IanLyons
    Forum Host

  • Control bar problems

    My control bar seems to ignore the flashvars used.
    It autoplays and hides even though set to false.
    My code
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"
    width="450" height="300">
    <param name="movie"
    value="http://localhost/media/10.0/StrobeMediaPlayback.swf"></param>
    <param name="FlashVars"
    value="src=http://localhost/media/newtest.swf
    &streamType=recorded
    &loop=false
    &autoPlay=false
    &playButtonOverlay=true
    &autoHideControlBar=false"></param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed src="http://localhost/media/10.0/StrobeMediaPlayback.swf"
    type="application/x-shockwave-flash"
    allowscriptaccess="always" allowfullscreen="true"
    width="450" height="300"
    FlashVars="src=http://localhost/media/newtest.swf
    &streamType=recorded
    &loop=false
    &autoPlay=false
    &playButtonOverlay=true
    &autoHideControlBar=false">
    </embed>
    </object>
    Play button and slider is also missing
    Thanks

    Yes.  I still get the same error.  I used the verbose variable and get stream not found, null.  I double checked the locations and the source is in the right place.  I even tried moving the source into the same folder as the player with same results.
    My code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"
    width="470" height="320">
    <param name="movie"
    value="http://localhost/media/10.0/StrobeMediaPlayback.swf"></param>
    <param name="FlashVars"
    value="src=http://localhost/media/welcomeback.flv
    &streamType=recorded
    &loop=false
    &autoPlay=false
    &playButtonOverlay=true
    &controlBarAutoHide=false
    &verbose=true"></param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed src="http://localhost/media/10.0/StrobeMediaPlayback.swf"
    type="application/x-shockwave-flash"
    allowscriptaccess="always" allowfullscreen="true"
    width="470" height="320"
    FlashVars="src=http://localhost/media/welcomeback.flv
    &streamType=recorded
    &loop=false
    &autoPlay=false
    &playButtonOverlay=true
    &controlBarAutoHide=false
    &verbose=true">
    </embed>
    </object>
    File Location
    Thanks
    Did you use the setup page (setup.html) to create your embed code?
    Please provide more details! From this description, I can tell only that the src may be wrong.

  • Media controls not working on my MacBook Air

    Hello everybody,
    I purchased my Macbook Air 11" almost two years ago and after updating it to I think it was leopard at the time, my media controls stopped working for iTunes. I didn't think much of it since I barely used those keys but after I wanted to use it more and they still don't. 
    I am currently running Yosemite 10.10.1
    If anyone can help me out, I'd appreciate it!

    Hello adil523,
    It sounds like your Function buttons aren't usable to control your iTunes playback on your computer. From what you describe it seems that you should be able to toggle this funciton in your System Preferences for your keyboard:
    How to change the behavior of function keys on your Mac
    By default, pressing one of these keys performs the special feature indicated by the icon printed on the key. For example, pressing the keys with speaker icons adjusts the volume.  If you want to use one of these keys as a standard function key, hold the Fn key (usually in the lower left corner of the keyboard) while pressing the function key. Pressing Fn-F10 (speaker icon) performs the function assigned to the F10 key instead of toggling mute on or off.
    If you prefer the top row of keys to always behave as standard function keys without holding the Fn key:
    Choose System Preferences from the Apple menu.
    From the View menu, choose Keyboard.
    Click the Keyboard tab if it is not already selected
    Enable "Use all F1, F2, etc. keys as standard function keys."
    With this option enabled, the top row of keys acts as standard function keys (F1 - F12). To use a feature indicated by the icon printed on a key, hold Fn while pressing the key.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Controlling iTunes from laptop keyboard media controls

    I have a dell xps laptop. The front of the laptop has media controls, for pause, play, skip, mute, volume etc. They currently only function with Windows Media Player. Is there any way I can change them so they work with iTunes?
    Thanks for any help.

    I have a similar problem. I have a Compaq laptop, and the media keys work when iTunes is the current application. Completely by chance, I found something that let me change the settings. I tried to install a plugin (for something completely unrelated) and created a plug-ins folder in the iTunes directory as per the plug-in instructions. When I opened iTunes, a bar appeared at the top, over the normal window, that was exactly like the mac bar, with the Mac buttons (fully functional). When I right-clicked on this, it gave me a different set of options, and in the options window there was a command that would make the media keys work even if iTunes was in the background, and it worked. The plug-in I installed didnt work, so I deleted it, and the mac bar at the top went with it. Then the media keys stopped working when iTunes was in the background again. No idea what happened and any ideas would be appreciated.
    Tom

  • Moving control bar location down..

    Hey guys. I need to move the location of the control bars
    down a few pixals on the screen. I remember a long time ago reading
    a work around or a way to do so. But I can't seem to find it or
    anything. Does anybody know how I can move the control bars down
    just a little bit so it isn't covering a part of the screen? Thanks
    in advance.

    Hi smejus57
    Are you referring to the playback controls? If so, there are
    now a couple of ways to do it.
    1. There is the old way of resizing the project to provide
    additional room at the bottom.
    2. There are now the skins, where you click Project >
    Skin... > Borders tab and adjust the width of the bottom border.
    However, many don't like the fact that the skins feature creates an
    additional .SWF file to contend with. So they turn off the borders
    and it forces the playback controls into a single swf with the main
    movie.
    Which method are you using?
    Cheers... Rick :)

  • How do you fix scaling issue with any video playback control bar (too small to see) on Firefox 28?

    Using a 3200x1800 dpi resolution lap top (Samsung Ultrabook 9 series), when I want to play videos on a webpage, the playback control bar (runs across the bottom of a given video for settings like play, pause, sound level, etc.) is too small to see. I tried scaling using various methods, Windows 8.1 OS, Firefox ad-ons like No squint with no success. Of course, these tools work to rescale everything else but the playback control bar. This is not a problem on IE as when you rescale, everything including the playback control bar
    rescales. Thanks

    You can set the layout.css.devPixelsPerPx pref on the <b>about:config</b> page to 1.0 or on Windows 8 to 1.25 and if necessary adjust layout.css.devPixelsPerPx starting from 1.0 in 0.1 or 0.05 steps (1.1 or 0.9) to make icons show correctly.
    *http://kb.mozillazine.org/about:config
    See also:
    *https://support.mozilla.org/kb/forum-response-Zoom-feature-on-Firefox-22
    Use an extension to adjust the text size in the user interface and the page zoom in the browser window.
    You can look at this extension to adjust the font size for the user interface.
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/
    You can look at the Default FullZoom Level or NoScript extension if web pages need to be adjusted after changing layout.css.devPixelsPerPx.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • Media controls keys does not work on iTunes?

    My keyboard has those "Media Controls Keys" on it (just like Play or Stop etc.) but it won't work with iTunes, unless iTunes is on the front of all windows. I used to use Windows Media Player and it can work with the Media Controls Keys even the player is minimised. Are there any ways simply changing settings with iTunes and solve the problem?

    Hello,
    I don't have a W541 myself, but here are a few things to check, in no particular order:
    Have you checked with your IT department?  Maybe they set a poilicy to disable the card reader.
    Is the card reader correctly enabled in the UEFI firmware?
    Have you run ThinkVantage System Update and Microsoft Update to confirm all of the various Lenovo and Microsoft updates are installed?
    Do you still have the OS image the device originally shipped with?  If so, does the card reader work under that?
    Regards,
    Aryeh Goretsky
     

  • Can I apply more than one keyword to images from the Control Bar?

    I swear this used to work. I select multiple images in a project. I apply a keyword to the selection by clicking a keyword button on the Control Bar. It gets applied to all the selected images. I click another keyword - it gets applied to only the first selected image.

    Michael, thanks for that quick response! Yes, that was it. Of course I don't know why I would have selected that option. It would seem to make sense to put this option in the Preferences instead of Edit - it would make it less easy to change accidentally.
    Regards,
    Francis.

  • [svn:osmf:] 14521: ChromeLibrary: moving live and recording buttons to the left hand side of the control bar , and making the button backdrops a little bigger.

    Revision: 14521
    Revision: 14521
    Author:   [email protected]
    Date:     2010-03-02 12:47:27 -0800 (Tue, 02 Mar 2010)
    Log Message:
    ChromeLibrary: moving live and recording buttons to the left hand side of the control bar, and making the button backdrops a little bigger.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/assets/control bar.ai
        osmf/trunk/libs/ChromeLibrary/assets/images/eject_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenEnter_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenLeave_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/pause_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/play_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_up.png
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/ControlBar.as

    Revision: 14521
    Revision: 14521
    Author:   [email protected]
    Date:     2010-03-02 12:47:27 -0800 (Tue, 02 Mar 2010)
    Log Message:
    ChromeLibrary: moving live and recording buttons to the left hand side of the control bar, and making the button backdrops a little bigger.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/assets/control bar.ai
        osmf/trunk/libs/ChromeLibrary/assets/images/eject_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenEnter_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenLeave_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/pause_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/play_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_up.png
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/ControlBar.as

  • CS6.0 & CS5.5 Master Collection InDesign Font Control bar & Characters Panel not Functioning

    Hi, I am a college student and our college a year ago sent me CS5.5 Master Collection InDesign at that time the font control bar was not functioning correctly on my PC. Our class was about Adobe Illustrator so our instructor rather than deal with it had us just cut and paste things into MS Word.
    Now a year and half later I am taking a college course in Adobe Photoshop . . CS6.0 Master Collection InDesign once again the collection is the Student and Teacher Licensing for Windows.  The same thing is happening now we are REQUIRED to this semester to create a Calendar using our own photos and create a INDESIGN layout using our photos we took for our course.  In this version of CS6.0 InDesign I figured they would of fixed it by now, but the "Control Panel is still not working, nor is the Character Panel that you pull up to the side of InDesign. I am able to use the pull down menus and do things from there, but the point of taking this course was to learn the software, how can we students use the software if it is not functioning properly.
    NOTE I AM EXPERIENCEING THE SAME THING WITH ALL SIDE PANELS NOW TOO.
    Oh yes it changes the font name when you use the pull down window from the top menu, but it is not allowing us to use the CONTROL BAR just under the MENU BAR, nor the side panel I pulled up and am showing there. In ADOBE ILLUSTRATOR I can use the character panel just fine, but not in InDesign.
    In Illustrator when I go to launch it I get this error, I have done as it asked but it still is bring this up at launch. I can go in and use Illustrator just fine, except for this error.
    Someone thought I may of installed it incorrectly, so I removed all ADOBE software from my computer ran maintenance and virus scans and reinstalled the software, a whole day wasted, but it still is doing the same thing.
    a) Thinking that this is a limitation placed on the software by Adobe because it is a Student Teacher Edition?
    b) There's a problem with having OpenType and TrueType fonts on hand?
    c) Adobe has a software problem that they have yet to resolve?
    d) There is something somewhere within the software I need to flip a switch on?
    Our instructor I gather who owns his own business his works just fine on his PC, but then because it is his business software it makes me think it has to do with the Student Teacher Edition.
    I have more than enough RAM and hard drive space the Processor is a AMD A8-3800 APU with Radeon(tm) HD. Graphics is 2.40 GHz. It is a 64-bit Operating System. Oh I am using a Windows OS 7.0 Professional .
    This is the only piece of software that I have come accross that will not function correctly on my computer system since it's purchase Jan of 2012.

    There is no difference between the commercial and educattional versions of the products other than the license terms. The software itself is the same.
    Since you are on windows 7, the first question is are you using large fonts in the Windows interface? Large fonts combined with an Aero theme are deadly to ID. See InDesign tools and panels don't respond to mouse clicks (Windows 7/Vista)
    If this doesn't apply, the next thing to try is replacing your preferences. See Replace Your Preferences
    Do you use a font manager? If so, which one?
    Does the account you are using have adminsitrator privileges? Shouldn't matter, but it would be worth trying a new account that does.
    It's still possible that the installation failed in some way. That Illustrator error certainly makes it look like a strong possibility, and there may have been some left-over crud from the first failed install that was not replaced the second time. If the things above don't clear up the problems, I would suggest Deactivating the suite from an applicatin that will open, and uninstalling again, then run the cleaner tool (CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3) which will remove all traces of the previous installations. Reboot, then before reinstalling run MSConfig and turn off all non-essential startup programs and services, especially any virus or maware scanners, third-party firewall, instant messengers, iTunes and all browser helpers and toolbars, then close MSconfig and reboot. Log in as an Administrator (the actual Adminsitrator account would be best, but it may not be turned on). When the warning comes up about diagnostic mode continue to boot (cancel MSConfig if it opens), then run the installer again. You can now run MSconfig to restore normal startup and reboot once more.

Maybe you are looking for

  • How can I make a calendar that anyone can import

    Hi, I'm the director of an event that takes place over one week in October. I made a calendar in my iCal that showed all common public events. I exported it and saved the calendar as am ics file, but my friends, who all use windows, who tried it got

  • Adding a listener to Active directory for user creation using Java

    Hi, I would like to add a listener to active directory such that when a user is created to the "Users" container, I should be notified or informed. I would like to do this with Java. What should I do ? Regards, Anand Kumar D

  • Error 114

    I keep getting an "error 114 - document cannot be read" every time I try to save a pdf document. How do I fix this?

  • Simultaneous multiple networks under access connections?

    I have two networks at home, one of which uses an ADSL internet connection the 2nd of which serves Network attached storage devices. Each network has a router. I want to use the wireless connection to connect to one network, and the ethernet con, for

  • Uploading AA

    Hi, Greetings, actually I do have a cisco router 2911, on this scenario I wanna add my AA message, I've downloaded this file from cisco website (CUE-AA-S1-OfficeHours-2.3.1.zip) and edit some parameters according to my requirement, my question now is