How to put subtitles without using iTunes (iOS)

For those who still do not know, the files must be associated with the applications in your iPhone for them to be opened. For example, if you download a video from your cloud app, that video will not appear in your video player (such as VLC) automatically unless you copy it to the application.

To copy the file to the video player app, follow these steps:

  1. From your cloud/file sharing app (such as Google Drive and SHAREit, respectively), access the menu for the specific file.
  2. Tap “Open in”.
  3. From the list of applications displayed (depends on what you installed in your iPhone), choose “Copy to <your app>”. For example, “Copy to VLC”.
  4. You will do the three steps above both for the video file and the subtitle.

Note: The filename of the subtitle must exactly match the filename of the video (excluding file extension). For example, if the video’s filename is “My_Movie.mp4”, the subtitle’s filename must be “My_Movie.srt”. Why? So that when you play the video in VLC, it will automatically choose the corresponding subtitle for you.

If you are using Android, it’s easier because the files are not strictly associated with the apps. So you can just open the video player and browse for the video. Then upon opening the video, you can browse for the subtitle manually even if the subtitle has a different filename.

 

Advertisements

An Angular 5 Tutorial: Step by Step Guide to Your First Angular 5 App

Angular is a new version of the AngularJS framework, developed by Google. It comes with a complete rewrite, and various improvements including optimized builds and faster compile times. In this Angular 5 tutorial, we are going to build a notes app from scratch. If you’ve been waiting to learn Angular 5, this tutorial is for you.

Read More »

Blurry Visual Studio Interface

I’ve just installed Visual Studio Community 2017 in a Windows 10 environment. When I tried to build the solution, the interface becomes blurry, unlike the sharp interface during design view. To make it sharp, follow the following steps:

1. Install .NET Framework 4.7 or later versions.
2. Change the Target Framework of the solution to .NET Framework 4.7.
3. Open the app.manifest file of the solution. (Project menu > [Solution name] Properties… > Application tab > click View Windows Settings)
4. Find

<!-- Windows 10 compatibility -->

under the compatibility tag.
5. Uncomment:

supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"

6. Open the app.config file of the solution. This is located immediately inside the solution folder.
7. Add the following XML code (NOT inside the startup tag, but on the same level):

<System.Windows.Forms.ApplicationConfigurationSection>
 <add key="DpiAwareness" value="PerMonitorV2" />
</System.Windows.Forms.ApplicationConfigurationSection>

8. Open your solution.
9. In Project menu > [Solution name] Properties… > Application tab > click View Windows Settings, un-check Enable Application Framework.
10. Change the startup form to Sub Main.
11. Add a new module to the project and add the following code:

Module Module1
 Sub Main()
 Application.EnableVisualStyles()
 Application.SetCompatibleTextRenderingDefault(False)
 Application.Run(New Form)
 End Sub
End Module

12. Re-check again the Enable Application Framework and change the startup form to your form. Run the project and the display should now be crisp.

You really need .NET Framework 4.7 (or later) to accomplish above steps, or else it will not work.

These sites help me:

https://docs.microsoft.com/en-us/dotnet/framework/winforms/high-dpi-support-in-windows-forms

https://social.msdn.microsoft.com/Forums/windows/en-US/5df42ca9-d80d-48ab-b773-b044537f77bb/using-setcompatibletextrenderingdefault-in-vb?forum=winforms

Command Line Tools for Developers

In today’s online world, the battle to attract users continues to rage on, with app makers preferring either mobile or web apps. Desktop applications are becoming less and less relevant. Moreover, they also tend to be nothing more than rich clients to web apps—Electron being the popular platform of choice.

Does this mean we will soon abandon the desktop as a platform? No, of course not, I wouldn’t say that. Besides, while GUI apps seem to have been stalling recently, there is a segment of desktop apps that continues to grow.

Have you ever seen any movie featuring hackers? More often than not, these people are shown working in front of monitors displaying some sort of terminal (usually with a dark background and light foreground). This terminal, in turn, tends to be flooded with passing characters that apparently have some meaning to the person watching them.

Read More »

Streamline Software Integration: An Apache Camel Tutorial

Software rarely, if at all, exists in an informational vacuum. At least, that is the assumption we software engineers can make for most of the applications we develop.

At any scale, every piece of software—in one way or another—communicates with some other software for various reasons: to get reference data from somewhere, to send monitoring signals, to be in touch with other services while being a part of a distributed system, and more.

Read More »

Top 15 places to find a PHP developer

1. Toptal

Toptal is a matching service, initially created with only tech talent in mind. Although it has expanded its pool of talent to include designers and finance experts, the company’s bread and butter is its developer vertical. If you want to be sure that a PHP developer is up to the job, hiring anexceptional developer from Toptal is likely your best option.

Why? Toptal boasts an elite developer base. Their trademark system for vetting talent allows for only the best to become a part of their community. According to Toptal, only 3% of applicants make it through their battery of technical tests and their comprehensive vetting process.

Read More »