Can I make a docked playlist in vlc NOT dominate the window? - vlc

I'd like to be able to view my playlist in vlc in a manner where it is non-obtrusive. Currently it looks something like this:
My desire is kind of the opposite - have the actual video playing take up the majority of the screen and have the playlist unobtrusively off to the side (actually in reality I would probably be happy with an undocked playlist except for this bug.
I'm aware there is a hidden resizer between the video and the media sources thing, but in the image shown I cannot resize the video portion any larger than that.

I know this is a late response, but if anyone else is looking for an answer to this problem like I was, I'd like to spare them the headache of searching any further than necessary for it.
Juidging by this post on VideoLAN's forum made by the site administrator (Jean-Baptiste Kempf), this seems to be working as intended.
Yes, there is no way to have that mode. Either it's two windows, or you just have the preview instead of the thumbnail.
(my emphasis)
This is, in my opinion, a silly limitation/feature to have.
EDIT 2019:
It seems to now be possible to achieve what the OP wants. Just drag the top part of the video up and the navigation will get hidden, you'll see a vertical resize icon replacing the pointer icon when you hover over the line between the navigation and the video. This at least works on my version of VLC (Version 3.0.7.1) on Windows 10
I don't know when this was implemented but I'd feel very silly if I didn't try this before originally posting this answer.

Related

Adding custom button to MPMoviePlayerController (fullscreen)

I have a MPMoviePlayerController instance in my iOS app, that plays a local file in fullscreen mode. This all works fine, but now I want to add a custom button to the window for changing the playback speed. We support both iPhone and iPad in all orientations.
I know how to set the playback speed from code (using setCurrentPlaybackRate), but I need to let the user do it while watching the video, which means adding some kind of button to the playback screen next to the existing buttons, e.g. next to "play", "pause", or in the top bar.
By looking on StackOverflow I have found various replies for questions similar but not quite the same, some saying it cannot be done in fullscreen, some saying it can be done (but is very complex) by creating some kind of overlay, effectively replacing the entire overlay with a custom one.
Although, I have yet to find any code examples (apart from a few snippets without context), getting-started style tutorial or similar for this, so any pointers to example code would be greatly appreciated.
maybe this Apple example could help you
https://developer.apple.com/library/ios/samplecode/MoviePlayer_iPhone/Introduction/Intro.html

Add a small video clip as background

I have an app and would like to have a video loop in the background of my initial view. It will serve as my home screen and menu and will have buttons overlaying on top of it. I have looked around but can't seem to find a guide or tutorial on this.
Take a look at MPMoviePlayerController for what is probably the most approachable way to attack the video idea.
MPMoviePlayerController will very quickly let you present a fullscreen interface, but will require a bit more work to use it "in-line" which is what you are describing.
Otherwise you'll find yourself wandering down the AVAsset path, which will allow far more control over what is happening, but will require quite a bit more code to configure.
As far as 3rd party options go, using the excellent GPUImage will allow you to throw a video at a view quite seamlessly and with very little code written on your part (the "SimpleVideoFileFilter" project in the examples can show you the way). But since you are merely displaying a video, this would be a significant amount of bloat for your project.
Bigger picture, using Animations instead of a movie has lots of appeal, for the performance, battery life, and general responsiveness of your app reasons stated by others.

IOS Orientation fix doesn't work all the time

I am developping a swipe gallery for mobile devices. Users can change images by sliding the screen, as any normal images gallery in most iPhone app.
Here is a demo:
http://daviddarx.com/stuffs/work/custom/swip/
To debug the iOS orientation bug (which let the content zoomed when you change the orientation), I used the only library that correct that:
http://scottjehl.github.com/iOS-Orientationchange-Fix/
Unfortunately, this library is working perfectly most of the time, but it happens to fail and not work correctly. This happen around 1 time on 10 times, and the result is then the same as if the library wasn't here.
This is not a huge problem on most of the mobile and responsive website, as the user can manually dezoom and then get back to the normal display.
But the problem here is that I had to disable the zoom function, to make my system work correctly. So, when the bug happen, once on 10 times, the gallery is then just bugged and stay like that....
So, here are my questions:
-do you know any other library that manage that bug fix, and is 100% completely reliable?
-if not, do you know a way to correct the used library to get a 100% support rate?
-if not, do you have any idea or solution for me?
Thank you in advance for your help!
David
There's an outstanding pull request on Scott Jehl's repo that uses slope detection instead of absolute values which seems to not suffer from the intermittent-ness of the original solution.
https://github.com/PeterWooster/iOS-Orientationchange-Fix/

Preventing screen grab within Delphi [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
How can I prevent users from taking screenshots of my application window?
So far I have be able to stop the Prt Sc key press and able to clear the clipboard so that my application cannot be screen grab.
However as a test I tried used Corel PaintShop pro and an option it has is to import screen capture which is very different from screen grabbing using the clipboard and as I suspected my application did not stop this.
So I have found the following code at this site : http://www.bitwisemag.com/copy/delphi/delphi1.html
This uses a different way of grabbing what is on screen and I presume that Corels method is similar to this. Is there anyway of this method of screen grabbing from being used on my application.
Greg Hewgill - Cheers for this - I will read this post
to get a screenshot on Windows is trivial, eg GetWindowDC(NULL). The only way I can think of is similar to this answer: stackoverflow.com/questions/455623/… – Nick
Nick looks like the same post that Greg has mentioned - however cheers for your response
Why go to this trouble? People nowadays can simply take a photo with their phone and send that around? – Marjan Venema
That may be true Marjan but I am trying to stop spyware programs from click logging if that makes the matter clearer.
The only way I can think of is to use DirectX. When certain apps such as DVD players write to the screen using DirectX, Windows sees a black (not quite black, but close) rectangle where the video shows. Attemps to use PrintScr or GetWindowDC() return that black rectangle. High-end screen capture apps like Snag-It can use DirectX to render the image properly, but this would be a 99% solution for you, and as others have said, users can always take a photo anyway.

Make page flip animation on iPhone (like magazine)

What would be the best approach to make one page flip like a real magazine? Like I put the finger in the corner of the screen then flip the page, as in this video.
Is it a sequence of images? All images are in one View or Imageview? Or there is another way to do it using the some stuff of the SDK? Does this effect exist, or would I have to write it?
This would fix your magazine problem... https://github.com/ole/leaves/tree/twopages
If it was me i'd try to use the API that someone has provided, save yourself some trouble:
CodeFlakes PaperTouch API
That's just a sequence of images as the backgrounds, and the "text" scales horizontally narrower.
For detail implementation you need to ask the original developer.
UIPageViewController is a new class in iOS 5 that you might be interested in if you don't have to support older iOS versions.
(before someone warns me about NDA, note that this class was announced publicly on one of wwdc keynote slides, I'm just giving a link to docs which can only be accessed by iOS Developer Program members)

Resources