26. January 2012, 10:37
It took me a really long time to find out how to use the JW Player with the OVA Plugin, using the JW Embedder. So finally, this is the solution:
-
jwplayer("container").setup({
-
'flashplayer': "player.swf",
-
'width': 700,
-
'height': 400,
-
'file': 'video.mp4',
-
'plugins': {
-
'ova-trial': true
-
},
-
config: 'config.xml'
-
});
So easy... once you know it...
19. January 2012, 10:20
ContentFlow is a nice tool, but it seems that version 1.0.2 is not quite finished. Images disappeared, meaning that instead of one or more images there was just an empty DIV. After refreshing the page the image was displayed correctly. Of course I cannot ask visitors to refresh until all images are visible, so I googled the problem and realized: there is an older version that works a lot better:
ContentFlow 1.0.0
18. January 2012, 17:57
After transferring a project from server A to server B, suddenly the nextgen config data disappeared. The galeries on the page itself were no longer working, instead of a slideshow there were all images displayed without a style.
Obviously one field is not transferred correctly. To solve this problem, find an entry in wp_options where option_name = ngg_options. Copy option_value from your old database and paste it to the new one. This did the trick for me.
13. January 2012, 10:04
Possible causes:
1. Missing domain.
Even if it doesn't seem necessary - always enter a domain.
2. Sandbox Mode
Page Admins can see Apps even if they are in sandbox mode. If those page admins aren't app admins or testers though, they might just get this facebook error. I spent a lot of time looking for this problem until I realized one of my clients was only a page admin and tried to test the app prematurely.The solution to this is, of course: make page admins app admins/testers.
21. December 2011, 10:50
Internet Explorer doesn't handle transparent PNGs well. Up until about now I wasn't aware though that there can be problems with other Internet Explorer versions as well. I discovered that my transparent PNGs had a huge black border for no apparent reason.
Obviously that's jquery's fault - as soon as you work with the hide/show functions, this particular phenomenon can happen. So far I didn't find the time to carefully look up my problem and maybe find a better, more elegant solution. So far I solved the problem by saving the images in question as jpg or PNG in 8-bit mode. Or, if none of that helps, I found alternatives to the jquery functions.
14. December 2011, 14:45
Facebook has come up with a new way to add a tab to a page. You have to call this URL:
https://www.facebook.com/dialog/pagetab?app_id=[APPID]&redirect_uri=[APPURL]
It's important that APPURL really IS a valid URL, or facebook will throw an error.
This change is just useless.
5. December 2011, 08:18
Da war ich schon kurz davor, die beiden Tags mit preg_replace zu entfernen, bevor mir klar wurde, dass man beim Aufruf der Funktion direkt title und alt Tag ändern kann:
-
$tn = get_the_post_thumbnail
(get_the_ID
(),
'',
array( 'alt' =>
'',
'title' =>
''));
Und schon klappt das.
2. December 2011, 08:51
Man benutzt Image Maps eigentlich eh selten... wenn ich Teile von Bildern verlinken will, dann leg ich einen Link drüber mit position:absolut und display:block, wenns für IE funktionieren soll ggf. noch mit einem transparenten PNG ... das ist weit praktischer, denn so kann ich mir erstmal anschauen, wo der Link drüberliegt, indem ich ihm ein border:1px solid #00FF00 oder so gebe.
Aber für einen Newsletter brauchte ich eine Image Map und hatte wirklich keine Lust, ewig rumzuprobieren bis die Positionen der rectangles passen. Also habe ich gesucht und bin auf das Image Map Tool gestoßen. Man lädt ein Bild hoch und kann sich dann bequem seine Rectangles einfügen, an die richtige Stelle setzen, die Größe anpassen und den Link setzen. Am Ende kriegt man den fertigen HTML Code. Man kann sogar alte maps importieren und weiterbearbeiten.
Großartiges, nützliches Tool!
-
<img usemap="#map2" src="newsletter.jpg" alt="" />
-
<map name="map2">
-
<area shape="rect" coords="56,42,299,460" href="http://www.link1.at" />
-
<area shape="rect" coords="335,44,569,460" href="http://www.link2.at" />
-
</map>
23. November 2011, 11:00
Ich poste das hier mit aller Vorsicht, weil ich heute eine STUNDE darauf verwandt habe, dieses Problem zu lösen und am Ende eigentlich nicht mehr weiß, ob das wirklich die Lösung war oder nicht...
mit der Javascript SDK wollte ich einen Wallpost starten, mit Text und einem Bild. Leider wurde das Bild nie angezeigt. Anscheinend muss dieses Bild besondere Dateiberechtigungen haben... ich hab ihm am Ende 0777 gegeben, weils mir nur noch wichtig war, dsas es geht.
Also, wenn FB.ui mit stream.publish ein bild nicht anzeigt... vielleicht liegts an den Dateirechten?
16. November 2011, 10:21
Wenn beim oauth redirect bei einer facebook app statt der permissions Abfrage ein "an error occured" kommt, kann es helfen, den "Namensraum der Anwendung" zu definieren. Hat bei mir sofort funktioniert. Den entscheidenden Hinweis fand ich, mal wieder, auf stackoverflow. Danke!