Questions tagged [poster]
28 questions
1
votes
2
answer
4.7k
Views
Problems using multipart_encode (poster library)
I am trying to upload a file using multipart_encode to realize the MIME process. However, I met the following error AttributeError: multipart_yielder instance has no attribute '__len__'. Below are is my approach, I really appreciate if anyone can give me some suggestions.
url = "https://pi-user-file...
2
votes
1
answer
1.8k
Views
Python: urllib2 multipart/form-data and proxies
The Objective: A script which cycles through a list of proxies and sends a post request, containing a file to a PHP page on my server, which then calculates delivery time. It's a pretty useless script, but I am using it to teach myself about urllib2.
The Problem: So far I have got multipart/form-dat...
4
votes
1
answer
71
Views
Published function on picloud throws an error
I am trying to send a file to a function on picloud via REST with poster python library on google app engine (An HTML JPEG image upload). But the function throws this error :
{"error": {"msg": "Function arguments (POST data) are not valid JSON", "code": 446, "data": "{'parameter': u' filename'}",...
3
votes
2
answer
9.2k
Views
video disappears when poster attribute and preload is defined
I have a video-tag with the following attributes:
I need the poster-image to show and I want the video to preload.
I don't show the browser's controls but control the video manually with custom controls (CSS & Javascript). The video is supposed to start when I click on it.
In Firefox this works as...
2
votes
1
answer
2.8k
Views
CSRF validation failed in Drupal
I'm using a webservice in Drupal 7. If I try to use Poster I get 'CSRF validation failed'. Before, I was connected with an administrator account.
I use the Firefox add-in Poster.
How can I fix this problem?
2
votes
0
answer
84
Views
Can I add a poster to the audio player?
I'd like to add a poster to my audio player previews just like with the video mode of the mediaelement.js player.
I've checked all the shortcodes and there doesn't seem to be anything for this. Basically all I want is a static image immediately above the audio player that is visible before and durin...
2
votes
1
answer
3.1k
Views
How can I place a still image before the first frame of a video?
When I encode videos by FFMpeg I would like to put a jpg image before the very first video frame, because when I embed the video on a webpage with "video" html5 tag, it shows the very first picture as a splash image. Alternatively I want to encode an image to an 1 frame video and concatenate it to m...
2
votes
1
answer
5.9k
Views
webservice is throwing 400 Bad request when sending certain characters in post body?
I currently have a webservice running on a server somewhere, and if i access the webservice locally i can type in anything and it takes the inputs without any problem.
However, when trying to make a http-post to the webservice from the outside with inputs containing chars such as '&' in this scenar...
7
votes
2
answer
1.2k
Views
HTML & CSS for printed posters
Introduction
HTML5 tools such as deck.js or reveal.js seem great for presentations, including scientific presentations where good-looking mathematics can easily be added with MathJax.
Closely related to scientific presentations are printed posters (examples), and I am wondering if it would be possi...
36
votes
5
answer
45.9k
Views
Dynamically using the first frame as poster in HTML5 video?
I'm wondering if there's any straightforward way to achieve this effect, without needing backend code to extract a frame, save it as a jpg and database it somewhere.
An effect whereby the first frame of the video just shows up as the poster when the video loads would be so helpful (it would only wor...
1
votes
2
answer
301
Views
Http request tool that will show the actual request (trouble with the Firefox plugin Poster)
I am trying to connect my common lisp application to a Drupal driven server site using http-post and I am having trouble debugging my request. When I use the Firefox plugin Poster to make the request everything works fine but when I make the request from inside my common lisp application I get inco...
1
votes
1
answer
10.7k
Views
How can I create a multi-image collage using php? [closed]
I want to create a multi-image collage poster like this one:
Anybody know how to program it in php?
4
votes
1
answer
3.5k
Views
Qt class hierarchy image/pdf
Do you know of any decent image or pdf of the class hierarchy of Qt 4?
Such as they have for Qt 3:
ftp://ftp.trolltech.com/qt/pdf/3.0/qt30-class-chart.pdf
5
votes
2
answer
4.4k
Views
iOS 4.2.1 Mobile Safari won't show poster image
I've been working on an iPad-specific site that uses HTML5 video and though I've got video playback working, I can't for the life of me get the poster image to appear. It looks fine on Desktop Safari. Here's the code:
I've using this link as a reference (listing 1.2): http://developer.apple.com/li...
3
votes
1
answer
1.7k
Views
Post an InMemoryUploadedFile from a file input field to another external server
I have an image file which is selected from an input field and posted via a form in django.
The form data and the image I want to post to another server
.
The problem seems to be, the file data in the request is an InMemoryUploadedFile type, which need to be transformed together with other posted da...
14
votes
4
answer
7.8k
Views
WPF 4 and .NET 4.5 class hierarchy poster
I'm looking for WPF 4 and .NET 4.5 class hierarchy posters.
Somthing like this.
I searched a lot over the web without success.
Any idea?
1
votes
5
answer
8.5k
Views
Videojs - how to change video poster dynamically
I want to make a playlist and the video source and poster is loaded dynamically. This is my code
var myFunc = function(){
var myPlayer = this;
var xmlhttp;
xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
if (xmlhttp.re...
6
votes
1
answer
406
Views
How to upload file as array element with poster?
I am trying to repeat the following curl request:
curl -i -k -H "Content-Type: multipart/form-data" \
-F "method=uploadphoto" \
-F "version=1.2.3" \
-F "format=json" \
-F "image[0][email protected]/Users/user/Downloads/file.jpeg" \
https://example.com/api
with poster usage:
from poster.encode import multipart_enco...
8
votes
1
answer
12.1k
Views
Generating a random preview image on a HTML5 video tag
Is it possible to capture a snapshot of a video that's loaded using the HTML5 video element and use that as a preview image until the video loads or the play event is triggered? I know about the poster attribute but I want the thumbnail to be self generated, like a random frame from the video. Sort...
3
votes
2
answer
549
Views
Is there a poster for Qt documentation? [closed]
I'm looking for a cheet-sheet style poster (or better posters) for a whole (parts of) Qt library.
Is there such thing or something similar?
4
votes
2
answer
3.1k
Views
Replace an image with a youtube video
I have an image, and I would like to make the image link to an embedded YouTube video, such that if the user clicks on the image, it starts playing in the place where the picture used to be. Any thoughts on how I can accomplish this?
Thank you,
David
2
votes
1
answer
1.1k
Views
Plotting for conference posters (increase textsize, linewidth, … at once)
Using pylab (matplotlib) in Python, I'd like to make plots for a scientifc conference poster. However, using a decent dpi resolution and the correct size in inches/centimetres, all elements of the plots are way too small to print big. The image will be roughly 30 cm x 20 cm large for an A0 format po...
2
votes
0
answer
707
Views
Videojs Poster Image Does not Display - Need Poster Image to Display when Device Doesn't allow Auto Play
I have a website with a video in the header that is set to auto play when the page loads. It works great on all web browsers except for iPhone and iPad. I recently discovered that the iPhone won't allow auto play, which explains why when I open it up on the iPhone there is a black box with a line t...
5
votes
2
answer
6.3k
Views
Video with custom controls using HTML5 video and Javascript
I am trying to create an HTML5 video player without the default controls that will play/pause by simply clicking the video(or overlaying div). I want to hide the default controls completely. I want the user to only be able to pause/play by clicking on the video. Is this possible? My initial strategy...
2
votes
0
answer
711
Views
poster not shown in video.js
I'm using your video.js which is working in part. I mean that I downloaded the zipfile and unzipped in your folder video-js containing all files. Perfect, if I play your demo.html I can see it correctly in FF ok. I want create a webapp with jquerymobile playing from localSD using your video.js
So,...
2
votes
0
answer
346
Views
Uploading file via poster/urllib2 with modified mime-type
I'm trying to write a python script that will upload a file and changing its mime-type
from poster.encode import multipart_encode, MultipartParam
from poster.streaminghttp import register_openers
import urllib2
register_openers()
params = [MultipartParam('img', open("data.mp4", "rb").read(), filetyp...
2
votes
1
answer
37
Views
How to make a html5 video poster image transparent to see the background image while video is not playing
I am looking for a solution to get a transparent poster image for html5 video.
I have a page with a background picture over the full width of the page (e.g. 1920x600). I would like to only show the video play button in the middle of this background picture. Video and background picture have differen...
3
votes
3
answer
918
Views
Making a WP7 HttWebRequest POST with an untrusted cert?
I'm working on a Windows Phone 7 application that makes a REST service call. The third party that hosts the web services has an invalid certificate in the current environment. When I hit the URL in Firefox, I get a warning about the cert and I am asked if I want to continue. I'm also using the Poste...