Logo or Image displayed instead of text message "Stream will start playing automatically when it is live" - webrtc

How can we add a poster image in the embedded player so when embedded we can have a logo or show image instead of text slate?

Thank you for the question.
You can add an image or logo to ant media server embedded web player (play.html)
Here are the steps:
Add logo.png file to the images directory.
images directory is under usr/local/antmedia/webapps/WebRTCAppEE/images
Edit play.html file as suggested in the PR
The text message "Stream will start playing automatically when it is live" can be edited or removed completely by editing play.html page as well.
Thank You!
antmedia.io

Related

TinyMCE5 not uploading images on drag-n-drop

I'm looking at this documentation on "Image and file upload options".
First thing off the bat it says in describing the automatic_uploads option is:
Enable or disable automatic upload of images represented by data URLs
or blob URIs. Such images get generated, for example, as a result of
image manipulation through Image Tools plugin, or after image is
drag-n-dropped onto the editor from the desktop.
This is exactly what I want - when an image is dragged and dropped onto the editor I want it to upload the image to my server. I read through the rest of the options and came up with this:
tinymce.init({
automatic_uploads: true,
images_reuse_filename: true,
images_upload_credentials: true,
images_upload_handler:async function (blob,success,failure) {
console.log(blob)
},
// remainder of options here
For the moment I'm just trying to print a debug statement when the upload handler is called, so that I know I have gotten that far. But when I drag an image onto the editor, I get a pop-up which says:
Leave site?
Changes you made may not be saved.
[Cancel] [Leave]
If I say "Leave" it abandons the site and brings the image up in the browser, which is not what I want. If I say "Cancel" then it stays on the page, but my upload function is never called, and subsequent attempts to drag onto the page do nothing.
Why isn't this working? Is there some plug-in that I need to install which isn't mention on the documentation page?
How a browser treats dragged/dropped images can differ across browsers. From where are you dragging the image? What browser and OS are you using?
In TinyMCE 5 the Insert/Edit Image dialog would have an Upload option (3rd link on the left) if you have image uploads setup correctly.
Do you see such an option? Can you drag/drop to that dialog via the Upload tab?

Illustrator/PS images when sending to another computer?

I'm not sure how Photoshop works but when I receive an AI file from another computer I get an error regarding the images:
'Could not find the link file 'exampleimage.jpg'.
So I'm guessing the other person would have to send me the images separately?
Is this how Illustrator works?
I'm sure for Photoshop you don't have to do this?
Any info would be helpful.
Cheers
In Illustrator, if you go to menu File/Place, this will allow you to place other art files directly into your open illustrator document. If someone gives you that illustrator file and they do not give the "placed" files as well, when you open the illustrator document it will give you that error message because it cannot locate those files that were placed.
While using the "place" command in Illustrator, if the "link" check box is selected, anytime a placed file into illustrator gets edited and saved outside of illustrator, the edits made to that placed file will update the changes in Adobe Illustrator.
If the photos in their document are not embedded, you will need the images separately. Once you have the images, when you open the file on the new computer, you may need to manually associate the photos with each placeholder to make sure it renders properly.

Editing Flexslider HTML

I'm still new to coding. I downloaded flex slider, and I have it running fine on my site and working fine. However I can't make ANY edits into my html regarding the slider. It has the 'next' and 'previous' image links on my gallery, which I would like to replace. It shows up in the html when I inspect it in firebug, yet when I run my html through my text editor (Im using text mate), it doesn't show up at all!
Any ideas why?
I think you are talking about the navigational arrows on the left and right side of the images. This can be changes in the "flexslider.css" file. If you are using textmate then the line number is 52.
Probably the easiest way is to find the image here images/bg_direction_nav.png. Right click the image and open with your image editing software eg. photoshop. Then once you have change the image just save it and it will be saved in the same folder location. If you keep the image the same size then you will not have to mess around with anything else..

How to show PSDs online without letting others download it?

I have around 20 PSDs which I need to show to a few programmers. Is it possible to upload them somewhere where they can view them but not download?
Or only option is to convert all of them to JPGs one by one?
Thanks
You can use google docs to view .psd online. Upload it to docs.google.com, select the file to view, then before sharing click "File" and toggle "Prevent viewers from downloading"
Use Photoshop actions to batch convert many psd's to jpgs and upload the jpg's. If you fear that they can misuse jpg's too, add a watermark over your jpg images.
Pipeline to do this could be:
Window -> Actions
Open your PSD file
click, in Actions window, on the button in lower right corner "create new action"
Name your action
Click Record
Your actions are now being recorded.
Layer->Flatten image (take care now - not to accidentaly save your PSD as flattened!)
If it is an cmyk, convert it to rgb,if it has bleed, crop off the bleed part
Resize your image if needed image -> image resize
File -> save as...JPG
Close image
Stop recording action.
Now you can run that action on whole folder where your PSD-s resides:
File -> automate -> Batch
Choose your action, and chose your folder.
Choose your source folder... twaeak a little... and magic will start to happen!

Some way to snap a screenshot and auto upload?

Is there anyway for design purposes that I can have son image host?
Currently if I need to share a desktop screenshot I have to:
open photoshop
Create new image
Past screen capture to new image
save fore web, sometime resize
then upload to an image host
Would be nice if there was something lightweight that would do this whole process in 1 sweep
http://www.pict.com/software