I have created a quiz and added a question with an audio clip, following this procedure :
Prepare your audio file in mp3 format on your machine.
Start editing your question the usual way.
text1
In this text the audio player will replace the word "put".
Select the word "put" putand press the link button.
When the insert window comes up locate the mp3 file on your computer, upload and choose it .
The "put" word will turn into a link. put2
You won't see the player here but don't panic.
You have to delete the "put" link. For this change the editor into HTML mode clicking on the html button.
And now this is the worst part if you don't write HTML code. Locate in the text in the link that consists of the word "put". It looks like this:
The player is <a title="mp3" href="http://ceptap.com/pictures/0000704.mp3"">put </a>here.
Delete the word "put". The rest is:
The player is here.
Go back to the normal editor window pressing again the <> button.
Your sentence now is:
The player is here.
It's really there but cannot be seen.
Finish your question, and close the editor window. Your question will look like this:
This is the question which consists of an audio file.
The player is here.
Audio Palyer works, but the player appears twice.
Please help.
I am using poodll filter and poodll recording type question.Double filtering was happening because of poodll filter and multimedia filter.
I moved poodll filter up above multimedia filter, in the site administration > plugins > filters > manage filters.
This fixed the issue and i can view one audio player now.
Related
I'm in the process of writing an app with which you can take a picture of a text and then the text is scanned and transferred to a variable. I've done that with the plugin firebase_ml_vision and everything works.
The problem I have is that I want to decide for myself which text is scanned from the photo. For example, this could work in such a way that each word and number is automatically given a frame and the user then taps the words that are transferred to the variable. This also works with Google translator (see screenshot) but unfortunately I haven't found anything yet how to do it... Do you know how it works?
The firebase-mlkit's text recognition API returns a frame as well as cornerPoints for each of the VisionTextBlock, VisionTextLine, and VisionTextElement:
https://firebase.google.com/docs/reference/swift/firebasemlvision/api/reference/Classes/VisionTextBlock
They should help you to select the words, lines, or text blocks.
When an HTML editor is used and images are added from the local computer, they are uploaded to a server and a link is obtained to put it in the image src attribute. What happens when the img element is removed from the editor? How would the image be deleted from the server? In this case I understand that the image deletion event could be detected and then call a service to delete it. But what happens if the user adds a new image and leaves the page? How would it be deleted in these cases?
In both cases, if the deletion of the images is not managed, it could happen that the server is filled with unused images. How do you usually solve this problem? How is the proper way to solve this?
That's a nice question there. And yeah, for sure the server would fill up with unused images in some point. I'm not an expert on this but I'll try to suggest something so I can implement it too in my WYSIWYG editor haha. I suppose you have a custom modal for the insertion of the image. Upon clicking the button you could save the image link to an array and at SAVE || on leaving the document edit || on popstate event you could make a regex that checks the innerHTML of the editor for the specific SRC. If is not found then you could push an ajax request with the image name so you can deleteit. For sure there are more efficient and complex ways to achieve that. Such as creating text ranges and track elements on keydown - Backspace(8) / Deletekey(46).
An other way is that you could track the images that are in use. When the document is saved regex out the images in the document, push them to a db table and periodically make a check from the back end so you can delete those that are not in use.
I don't know if my suggestions are helpful or not. I just saw an interesting subject so I jumped in. Cheers mate.
how to select the record in application screen using sikuli-Python.
(This is my screen in application).
i don't have search option in my screen. now i want to fetch a single record from the screen. Somebody Please Help me. I am new to sikuli-python
There are 2 ways to extract data:
Using built in OCR which is largely unreliable and will work in only certain cases. Worth a try however if nothing else working.
Get the data via simulated keyboard and mouse actions. For example, if you can manually navigate to the field using keyboard and use Ctrl+C and Ctrl+V to copy data to clipboard, you can do the same with Sikuli.
I want to click links in a webpage by storing it in array and click this links one after another and take entire screenshot of each and every link after clicked,and all this i have to do only in SELENIUM IDE...how to do that??
I know up to save links in array and clicking links, but failed to capture screenshot of each page after clicking..because it is taking only one screenshot and overwriting that screenshot when second link clicked..
Maybe the reason why your screenshots are being overwritten is because you have a consistent image file name for them. Try something like this:
Command:
captureEntirePageScreenshotAndWait;
Target:
C:\\<Directory>\\different-filename-for-screenshot.png
and so on and so forth...
If you have very less screens to capture then you can simply capture them in different file names. Please refer example below.
LessScreenshot IDE Script
LessScreenshot Files stored
If you have more screens to capture then you can read the file locations and names from CSV file. For more information about loop and readCSV, please refer this link. In the example below, I have capture 7 clicks screenshots.
Input_CSV_File
IDE_Script_Loop&ReadCSV
Screenshot captured
Is it possible to hide the re-assign button in the workflow dialog box for the users? and if so how?
Thanks
my solution may not be the best one, but it works for me. I hid the button using CSS.
Just go to the Application Designer app and use Export system XML action from Select Action dropdown. Then pick LIBRARY XML and save it somewhere on your disk. Open it (using WordPad preferably, Notepad is causing some issues when importing back to Maximo) and CTRL+F find Complete workflow assignment dialog. Go down a bit and you'll see <pushbutton> with label Reassignment:
<pushbutton id="completewf_b_4" label="Reassign" mxevent="directorinput" value="reassign"/>
Add textcss="reassign_btn" (the name is up to you of course)
<pushbutton id="completewf_b_4" label="Reassign" mxevent="directorinput" textcss="reassign_btn" value="reassign"/>
Then save the file and import LIBRARY.xml back to the Maximo using Application Designer app again. Then just edit your maximo.css file (located somewhere in \applications\maximo\maximouiweb\webmodule\webclient\ depending on which skin you are using) and add:
.reassign_btn { visibility: hidden; }
Hope this helps :-)