I would like to play a certain song depending sent parameter.
In my project I have different playlist, so i want to send the parameter(which is a number, corresponding to a just one playlist) and then just listen the song in that playlist.Any idea about how can I do that? Thanks in advance!
Well as I read on the flash webpage unfortunately this feature is not implemented.
That's why I'm using jQuery jPlayer now
Related
I'm working on a nick plugin for my network. I managed to change the name of the player. Really... It changes everywhere on the spigot server. Eaven other plugins don't get the real name.
But now I stuck in changing the skin of the player and I have one main question... Who sets the skin? Bungeecord or Spigot. In fact that the Bungeecord server is an online server and all the gameservers are offline servers I think that maybe the bungeecord-server is able to change the skin of the player. And in that case... Does anyone have a working method? Because I tryed nearly everything I've found in google.
Thanks alot.
Minecraft 1.8 and higher
The skin comes from the Mojang servers, this skin is fetched by Bungeecord at the moment of when the player logins, and is then passed over the connection to Spigot.
Spigot is then responsible for the sending this players skin to the other players on the servers in the form of a GameProfile object. If we check what this GameProfile object contains, we will see that it contains a signature and a skin data, the signature is generated by Mojang at the moment of skin change ad is based on the skin, and the skin data contains the textures used for the skin and cape. If you want to change the skin, you should register a new Minecraft account with the skin you use (or hopefully find a existing account with the skin), and use his skin data and signatures.
Minecraft 1.7 and lower
In these minecraft versions, the skin is resolved using the player's name. A request is made to http://minecraft.net/skin/<username>.png. This will return a simple png file with the skin contents. If you try this method with people who changed their name in 1.8, it will fail, since this service doesn't recognise the 1.8 usernames.
I have a TreeView in a QtGui. But I want it to display only one folder at 'F:\Qt\GUI\files'
I have tries a tutorial on youtube (http://www.youtube.com/watch?v=M0PZDrDwdHM) but I read on qt-project.org that QDirModel is obselete now. And I don't know how to do this now. The end result needs to be the same as in the youtube video but than without all the other drives and folders on the pc.
Thank you so much! :)
You just need to use QFileSystemModel instead of QDirModel. To set directory you want to be displayed use the setRootPath method. For example, to display MyComputer content use an empty string as a parameter value.
I want to make an interface that looks like this
So here is what the user can do
1- Connect people to each other
2- See some information about each person (the balloon)
3- Move these objects around without them loosing their connections
Then I want to save these connection information using ajax, so that I can see who is connected to who, I also need to redraw these diagrams next time the user sees the page.
It seems like jsPlumb, paperjs, and raphael can all do this and a lot more, my question is which one is suitable for this need.
inspect graphiti which is based on raphael.
http://www.draw2d.org/graphiti/jsdoc/#!/example
Greetings
Andreas
is there a specific link that I can use for "Liking" something? I'm looking to make a rating system that when someones votes something as 5 stars, it automatically "Likes" the image or whatever. I know there is www.facebook.com/plugins/like.php?, but when I use that in my JavaScript, it automatically forwards them to a page with a like button only on it...
FYI, I'm not hiding the like button, it will be known by users...
I also tried .trigger('click'); but that doesn't work with the like button!
Thanks in advance!
You have stumbled across some road-blocks that Facebook implemented to prevent abuse of their like button. You will have to play by their rules to play in their sandbox they built. So use the social plugin: http://developers.facebook.com/docs/reference/plugins/like/
As the title says on a website is it possible to tell if a user has viewed a portion of the page?
Will moving that portion to a separate iframe work? then if they scroll to the bottom, issue a get request for a small image file..forgot the name of the technique..
Update: It is called Web Bug..A Web bug is an object that is embedded in a web page or e-mail and is usually invisible to the user but allows checking that a user has viewed the page or e-mail. One common use is in e-mail tracking. Alternative names are Web beacon, tracking bug, tracking pixel, pixel tag, 1×1 gif, and clear gif.
If you are talking about to check if the user has actually viewed some part of the page you would need to install a web camera and track his eye-movement.
If you are talking about detecting how far the user has scrolled down the page, you can use Javascript to detect this in the OnScroll event. You can then fire some ajax to the server if you need to record this.
I'm not sure this would be ethical - but technically if you use javascript, you could detect the mouseover event of each paragraph tag in the document, and then AJAX that information back to the server. As the user scrolls down the page, they're likely to mouse over the paragraphs, and then you know at least approximately where they've read to.
Not reliably, no.
Simple example: I middle-click on a link, which opens it in a new background tab. I then decide against it, and close the tab without ever looking at it. Any JavaScript trick is going to report that I viewed everything above the fold.
More complicated example: A newbie user doesn't have the browser window maximised, and a portion of the browser window is off-screen. Any JavaScript trick is going to report as if the entire viewport is being viewed, so even restricting your query to only the cases where scrolling occurs will not help.
Unless you require a user action of some kind, all you will be able to tell is that they downloaded some portion, not that they actually looked at it.
Sure. Put that content inside a div, then in your html, with some javascript, capture the onmouseover event and do your work there. If they've put their mouse over something, it's a pretty safe bet that they've seen it, I'd say...
Hope this helps.