media

How to make permalink in codeigniter… social case

柔情痞子 提交于 2019-12-08 12:45:42
问题 i want to build a website using codeigniter. The website is look like a social agregator for my school. to build my website i plan : making a class "pages". The class "pages" has a common function login, register , logout.. etc. making a "user" class the class "user" has a function related to user needs like: edit profile, add social api, view_profile etc. i know if we want to see a profile we should pass an url like : www.Mysite.com/user/view_profile/ <user name> I dont know how to make a

playing sound without the need to install media player extension

自作多情 提交于 2019-12-08 12:00:33
问题 I am trying to embed a sound in an auction website. I want that every time someone's bid, a sound will be played. I tried a simple <embed> tag with given ID, and then sound.play() through javascript. The sound is playing, but in IE, a new user is asked to install a media player extension "if he/she trusts the website". Is there a way to make it play without this message. The following code is in the page: In the HTML: <embed src="success.wav" autostart="false" width="0" height="0" id="sound1"

How to remove background Noise in Audio Track?

若如初见. 提交于 2019-12-08 11:56:07
问题 I am developing VOIP kind of application. Sending the voice is perfect but when i receive the same voice from the webserver, i am playing back that using AudioTrack API. I am calling at.play() and at.write in a Thread so that i should get all the voice which is recorded and sent from the other device. But, now the problem here i m facing is, if there is no voice than its still playing like some bullet sound, i mean there is a continuos background sound when i try to play . I m using this

Using MediaTransportControls with BackgroundMediaPlay in Background Audio Task UWP

↘锁芯ラ 提交于 2019-12-08 10:09:01
问题 I am building a UWP App that plays Audio in the Background. I have successfully set it up and it's running with a simple play/pause Button. Now I need to play Audio using a MediaElement control that has MediaTransportControls enabled. I have read that it is impossible to play Background Audio using Media Element. Here in this article they suggest using BackgroundMediaPlayer: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/e6bb37ec-49f7-4e5a-91ef-44ae3725a761/uwpbackground-audio-on

How can I add overlay images or text on top of videos in Android?

╄→尐↘猪︶ㄣ 提交于 2019-12-08 09:48:11
问题 I'm trying to add overlay images/text on top of mp4 videos inside an Android application. Most solutions point to FFmpeg (or appunits AndroidFFmpeg) but isn't stable and very complicated to maintain. Is there a native way to do this using the Android SDK? (MediaCodec? MediaMuxer?) Thank you, Ori 回答1: There are two ways to understand your question: You want to temporarily superimpose video with additional information . This can be done using the standard layout procedure: Use the built-in

Sending contents of a particular div on page with “Send page by e-mail” option of IE

雨燕双飞 提交于 2019-12-08 08:30:04
问题 I have a page with a div hidden that has some contents in it. I want to able to send only the contents of this hidden div and nothing else on the page with "send page by e-mail" option if IE. How can I do this? Is there any specific css support for this purpose like we have print media type for printing documents? 回答1: "Send -> Page By Email" seems to copy over all page content into a new email window. The CSS doesn't seem to stick, but the table structures do (in an Outlook email at least).

Media file in wrong encoding

痴心易碎 提交于 2019-12-08 08:10:33
问题 I am inserting a media file for a tutorial. I added a raw folder and copy pasted the media file in the raw folder. i see an error that saws "File was located in the wrong encoding: 'UTF-8" I can run the app smoothly but it never plays my media file. I tried to reload the encoding but it causes my app to mysteriously return to my phone's home screen. Please help. I also tested this on a different project and i managed to get 1 song to work. However the other songs still are in wrong encoding

Dropdown contents not overlapping video player

怎甘沉沦 提交于 2019-12-08 07:45:08
问题 I have an object tag for playing videos on my page: <object id="Player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" data="mms://TAL-BBSR-01/01_Debugging.wmv" width="100%" type="video/x-ms-asf" height="400" wmode="opaque" url="mms://TAL-BBSR-01/01_Debugging.wmv"> <param name="url" value="mms://TAL-BBSR-01/01_Debugging.wmv"> <param name="filename" value="Video"> <param name="autostart" value="1"> <param name="uiMode" value="full"> <param name="autosize" value="1"> <param name=

JavaFX Media - pause(); method makes MediaPlayer fast-forward?

守給你的承諾、 提交于 2019-12-08 07:42:29
问题 the pause() method of MediaPlayer makes the Media "seek" a bit. It's really annoying but I didn't find out where the problem is. private void playPauseClicked() { Status currentStatus = player.getStatus(); if(currentStatus == Status.PLAYING) { Duration d1 = player.getCurrentTime(); //To measure the difference player.pause(); Duration d2 = player.getCurrentTime(); VIDEO_PAUSED = true; } else if(currentStatus == Status.PAUSED || currentStatus == Status.STOPPED) { player.play(); VIDEO_PAUSED =

How to prevent play video using file path of window azure media server without login?

大城市里の小女人 提交于 2019-12-08 06:40:50
问题 Currently doing one project basis on Windows Azure Media Service . Scenario- There is a media player on website, which play video source file of media contains on Azure media server. Requirement - 1) Unregistered user or without login user can't play video using azure media file path . (It is better for me without use of Active directory credential and If we can upload that video encrypted format and play with decryption when user is logged in) Please provide proper guidance which satisfy